mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
refactor(lib): remove unreachable code in doom-print-class-alist
An earlier element in this alist associates buffer with doom-print--buffer, so this later element is unreachable.
This commit is contained in:
@ -62,9 +62,6 @@ and `format!' into colored output, where COLOR is any car of this list.")
|
|||||||
(rtrim . string-trim-right)
|
(rtrim . string-trim-right)
|
||||||
(ltrim . string-trim-left)
|
(ltrim . string-trim-left)
|
||||||
(p . doom-print--paragraph)
|
(p . doom-print--paragraph)
|
||||||
(buffer . (lambda (buffer)
|
|
||||||
(with-current-buffer buffer
|
|
||||||
(buffer-string))))
|
|
||||||
(truncate . doom-print--truncate)
|
(truncate . doom-print--truncate)
|
||||||
(success . (lambda (str &rest args)
|
(success . (lambda (str &rest args)
|
||||||
(apply #'doom-print--style 'green
|
(apply #'doom-print--style 'green
|
||||||
|
Reference in New Issue
Block a user