[gnus git] branch master updated: m0-5-149-g0ba3f9c =1= dgnushack.el (define-obsolete-variable-alias): Fix last commit

Katsumi Yamaoka <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  0ba3f9c46ec5656b52b30d0703cbfee330de2523 (commit)
      from  7bc51898804084cd903509a0420bbe93c2846f06 (commit)


- Log -----------------------------------------------------------------
commit 0ba3f9c46ec5656b52b30d0703cbfee330de2523
Author: Katsumi Yamaoka <[email protected]>
Date:   Wed Oct 24 00:39:35 2012 +0000

    dgnushack.el (define-obsolete-variable-alias): Fix last commit

diff --git a/lisp/dgnushack.el b/lisp/dgnushack.el
index 6bbde42..f8f1a8a 100644
--- a/lisp/dgnushack.el
+++ b/lisp/dgnushack.el
@@ -576,14 +576,14 @@ but which should be robust in the unexpected case that an error is signaled."
 	(makunbound 'dgnushack-obsolete-name)
 	(makunbound 'dgnushack-current-name)))
   (wrong-number-of-arguments
-   (define-compiler-macro
-     define-obsolete-variable-alias (oldvar newvar &rest args)
-     `(funcall ,(symbol-function 'define-obsolete-variable-alias)
-	       ,oldvar ,newvar))
    (defadvice define-obsolete-variable-alias (around ignore-rest-args
 						     (oldvar newvar &rest args)
 						     activate)
      "Ignore arguments other than the 1st and the 2nd ones."
-     (ad-Orig-define-obsolete-variable-alias oldvar newvar))))
+     (ad-Orig-define-obsolete-variable-alias oldvar newvar))
+   (define-compiler-macro
+     define-obsolete-variable-alias (oldvar newvar &rest args)
+     `(funcall ,(symbol-function 'ad-Orig-define-obsolete-variable-alias)
+	       ,oldvar ,newvar))))
 
 ;;; dgnushack.el ends here

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/dgnushack.el |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.