bug#3541: 23.0.94; missing comma in the macro ad-set-orig-definition
Dmitri Paduchikh <[email protected]>
| Newsgroups | gmane.emacs.bugs,gmane.emacs.pretest.bugs |
|---|---|
| Message-ID | <[email protected]> |
Here is a patch which adds the missing comma in the macro ad-set-orig-definition. diff --git a/lisp/emacs-lisp/advice.el b/lisp/emacs-lisp/advice.el index fa5d57a..27c65ec 100644 --- a/lisp/emacs-lisp/advice.el +++ b/lisp/emacs-lisp/advice.el @@ -2191,7 +2191,7 @@ Redefining advices affect the construction of an advised definition." (defmacro ad-set-orig-definition (function definition) `(ad-safe-fset - (ad-get-advice-info-field function 'origname) ,definition)) + (ad-get-advice-info-field ,function 'origname) ,definition)) (defmacro ad-clear-orig-definition (function) `(fmakunbound (ad-get-advice-info-field ,function 'origname)))