bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#3541: 23.0.94; missing comma in the macro ad-set-orig-definition


From: Dmitri Paduchikh
Subject: bug#3541: 23.0.94; missing comma in the macro ad-set-orig-definition
Date: Fri, 12 Jun 2009 12:09:56 +0600
User-agent: Gnus/5.13 (Gnus v5.13)

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)))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]