[gnus git] branch master updated: m0-5-160-g0b2dac5 =1= dgnushack.el (define-obsolete-variable-alias): Simplify
Katsumi Yamaoka <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via 0b2dac51c0ade4a5a7b6d3d7a41d8754e15848f8 (commit)
from ba035521e28057d09c2ccb7b596f78b742ed01b9 (commit)
- Log -----------------------------------------------------------------
commit 0b2dac51c0ade4a5a7b6d3d7a41d8754e15848f8
Author: Katsumi Yamaoka <[email protected]>
Date: Wed Nov 14 23:39:20 2012 +0000
dgnushack.el (define-obsolete-variable-alias): Simplify
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 97d9a68..5ef3ff6 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2012-11-14 Katsumi Yamaoka <[email protected]>
+
+ * dgnushack.el (define-obsolete-variable-alias): Simplify.
+
2012-11-08 Katsumi Yamaoka <[email protected]>
* gnus-art.el (gnus-article-browse-html-parts): Always replace charset
diff --git a/lisp/dgnushack.el b/lisp/dgnushack.el
index fec8302..19998fe 100644
--- a/lisp/dgnushack.el
+++ b/lisp/dgnushack.el
@@ -178,7 +178,6 @@
(autoload 'customize-set-variable "cus-edit" nil t)
(autoload 'customize-variable "cus-edit" nil t)
(autoload 'debug "debug" nil t)
- (autoload 'define-compiler-macro "cl-macs" nil nil 'macro)
(autoload 'sha1 "sha1")
(if (featurep 'mule)
(unless (locate-library "mule-ccl")
@@ -582,10 +581,10 @@ but which should be robust in the unexpected case that an error is signaled."
(oldvar newvar &rest args)
activate)
"Ignore arguments other than the 1st and the 2nd ones."
- (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))))
+ ad-do-it)
+ (put 'define-obsolete-variable-alias 'byte-optimizer
+ (lambda (form)
+ (setcdr (nthcdr 2 form) nil)
+ form))))
;;; 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/ChangeLog | 4 ++++
lisp/dgnushack.el | 11 +++++------
2 files changed, 9 insertions(+), 6 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