Make ad-version variable obsolete
* lisp/emacs-lisp/advice.el (ad-version): Make obsolete in favor of emacs-version. It has not been bumped since 1994.
This commit is contained in:
parent
6568592015
commit
8854b321c2
1 changed files with 3 additions and 2 deletions
|
@ -1580,8 +1580,6 @@
|
|||
:link '(custom-manual "(elisp)Advising Functions")
|
||||
:group 'lisp)
|
||||
|
||||
(defconst ad-version "2.14")
|
||||
|
||||
;;;###autoload
|
||||
(defcustom ad-redefinition-action 'warn
|
||||
"Defines what to do with redefinitions during Advice de/activation.
|
||||
|
@ -3250,6 +3248,9 @@ Use only in REAL emergencies."
|
|||
(message "Oops! Left over advised function %S" function)
|
||||
(ad-pop-advised-function function)))
|
||||
|
||||
(defconst ad-version "2.14")
|
||||
(make-obsolete-variable 'ad-version 'emacs-version "29.1")
|
||||
|
||||
(provide 'advice)
|
||||
|
||||
;;; advice.el ends here
|
||||
|
|
Loading…
Add table
Reference in a new issue