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:
Ivan 2022-09-10 17:51:40 -04:00 committed by GitHub
parent 44ff627e35
commit 6af7338140
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,9 +62,6 @@ and `format!' into colored output, where COLOR is any car of this list.")
(rtrim . string-trim-right)
(ltrim . string-trim-left)
(p . doom-print--paragraph)
(buffer . (lambda (buffer)
(with-current-buffer buffer
(buffer-string))))
(truncate . doom-print--truncate)
(success . (lambda (str &rest args)
(apply #'doom-print--style 'green