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

From: Dmitri Paduchikh <[email-masked]>
Date: Fri, 12 Jun 2009 12:09:56 +0600

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