mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08:00
fix(lib): doom-print-minimum-level: type error if level is undefined
This commit is contained in:
parent
d3e8ca8d9d
commit
c22bb498e5
1 changed files with 2 additions and 1 deletions
|
|
@ -166,7 +166,8 @@ Returns OUTPUT."
|
|||
(if (listp level)
|
||||
(memq doom-print-minimum-level level)
|
||||
(>= (get level 'print-level)
|
||||
(get doom-print-minimum-level 'print-level)))))
|
||||
(or (get doom-print-minimum-level 'print-level)
|
||||
9999)))))
|
||||
(when format
|
||||
(setq output (doom-print--format "%s" output)))
|
||||
(princ output stream)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue