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:
parent
5e2e886b35
commit
0f4328058c
1 changed files with 2 additions and 2 deletions
|
@ -577,8 +577,8 @@ files, so this replace calls to `pp' with the much faster `prin1'."
|
||||||
(lambda (button)
|
(lambda (button)
|
||||||
(helpful-variable (button-get button 'apropos-symbol))))))
|
(helpful-variable (button-get button 'apropos-symbol))))))
|
||||||
|
|
||||||
(when (> emacs-major-version 28)
|
;; DEPRECATED: Remove when support for 29 is dropped.
|
||||||
;; REVIEW This should be reported upstream to Emacs.
|
(when (= emacs-major-version 29)
|
||||||
(defadvice! doom--find-function-search-for-symbol-save-excursion-a (fn &rest args)
|
(defadvice! doom--find-function-search-for-symbol-save-excursion-a (fn &rest args)
|
||||||
"Suppress cursor movement by `find-function-search-for-symbol'.
|
"Suppress cursor movement by `find-function-search-for-symbol'.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue