Remove custom helpful pretty-printer; default is superior

This commit is contained in:
Henrik Lissner 2018-05-15 22:24:27 +02:00
parent 4734d55edc
commit b6813393d8
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 1 additions and 15 deletions

View file

@ -102,18 +102,6 @@ in, or d) the module associated with the current major mode (see
(error "There is no documentation for this module"))
(find-file doc-path))))
;;;###autoload
(defun doom*fix-helpful-prettyprint (value)
"TODO"
(with-temp-buffer
(delay-mode-hooks (emacs-lisp-mode))
(pp value (current-buffer))
(unless (or (symbolp value) (booleanp value) (keymapp value))
(unless (hash-table-p value)
(fill-region (point-min) (point-max)))
(quiet! (indent-region (point-min) (point-max))))
(string-trim (buffer-string))))
;;;###autoload
(defun doom/version ()
"Display the current version of Doom & Emacs, including the current Doom