mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix: restrict find-function-search-for-symbol advice to Emacs 29
The issue this advice fixes are fixed at some point in 30.x.
This commit is contained in:
@ -577,8 +577,8 @@ files, so this replace calls to `pp' with the much faster `prin1'."
|
||||
(lambda (button)
|
||||
(helpful-variable (button-get button 'apropos-symbol))))))
|
||||
|
||||
(when (> emacs-major-version 28)
|
||||
;; REVIEW This should be reported upstream to Emacs.
|
||||
;; DEPRECATED: Remove when support for 29 is dropped.
|
||||
(when (= emacs-major-version 29)
|
||||
(defadvice! doom--find-function-search-for-symbol-save-excursion-a (fn &rest args)
|
||||
"Suppress cursor movement by `find-function-search-for-symbol'.
|
||||
|
||||
|
Reference in New Issue
Block a user