diff --git a/core/core-editor.el b/core/core-editor.el index 9985b052f..0fb144cfd 100644 --- a/core/core-editor.el +++ b/core/core-editor.el @@ -554,7 +554,16 @@ files, so this replace calls to `pp' with the much faster `prin1'." (button-type-put var-bt 'action (lambda (button) - (helpful-variable (button-get button 'apropos-symbol))))))) + (helpful-variable (button-get button 'apropos-symbol)))))) + + ;; HACK `help-fns--autoloaded-p's signature changed on Emacs 29. This + ;; suppressed the error until it is addressed upstream. + (when EMACS29+ + (defadvice! doom--fix-helpful--autoloaded-p (fn &rest args) + :around #'helpful--autoloaded-p + (letf! (defun help-fns--autoloaded-p (sym _) + (funcall help-fns--autoloaded-p sym)) + (apply fn args))))) ;;;###package imenu