From: Glenn Morris Date: Mon, 30 Jan 2017 21:59:37 +0000 (-0500) Subject: mh-compat.el: remove duplicate definition X-Git-Tag: emacs-26.0.90~858^2~52 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5cebfc4495356376cf1c7191bb18aa6c014f8c31;p=emacs.git mh-compat.el: remove duplicate definition * lisp/mh-e/mh-compat.el (mh-make-obsolete-variable): Remove duplicate definition. --- diff --git a/lisp/mh-e/mh-compat.el b/lisp/mh-e/mh-compat.el index aae751e8d2d..3f3990e8695 100644 --- a/lisp/mh-e/mh-compat.el +++ b/lisp/mh-e/mh-compat.el @@ -278,16 +278,6 @@ DOCSTRING arguments." `(define-obsolete-variable-alias ,obsolete-name ,current-name) `(define-obsolete-variable-alias ,obsolete-name ,current-name ,when ,docstring))) -(defmacro mh-make-obsolete-variable (obsolete-name current-name &optional when access-type) - "Make the byte-compiler warn that OBSOLETE-NAME is obsolete. -See documentation for `make-obsolete-variable' for a description -of the arguments OBSOLETE-NAME, CURRENT-NAME, and perhaps WHEN -and ACCESS-TYPE. This macro is used by XEmacs that lacks WHEN and -ACCESS-TYPE arguments." - (if (featurep 'xemacs) - `(make-obsolete-variable ,obsolete-name ,current-name) - `(make-obsolete-variable ,obsolete-name ,current-name ,when ,access-type))) - (defmacro mh-make-obsolete-variable (obsolete-name current-name &optional when access-type) "Make the byte-compiler warn that OBSOLETE-NAME is obsolete. See documentation for `make-obsolete-variable' for a description