diff --git a/core/autoload/help.el b/core/autoload/help.el index d5e690a26..202b49980 100644 --- a/core/autoload/help.el +++ b/core/autoload/help.el @@ -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 diff --git a/core/core-editor.el b/core/core-editor.el index 844863ba2..0a7b1ec3d 100644 --- a/core/core-editor.el +++ b/core/core-editor.el @@ -199,9 +199,7 @@ fundamental-mode) for performance sake." (global-set-key [remap describe-function] #'helpful-callable) (global-set-key [remap describe-command] #'helpful-command) (global-set-key [remap describe-variable] #'helpful-variable) - (global-set-key [remap describe-key] #'helpful-key) - - (advice-add #'helpful--pretty-print :override #'doom*fix-helpful-prettyprint)) + (global-set-key [remap describe-key] #'helpful-key)) (def-package! pcre2el :commands rxt-quote-pcre)