Remove custom helpful pretty-printer; default is superior
This commit is contained in:
parent
4734d55edc
commit
b6813393d8
2 changed files with 1 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue