emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 5cebfc4: mh-compat.el: remove duplicate definition


From: Glenn Morris
Subject: [Emacs-diffs] master 5cebfc4: mh-compat.el: remove duplicate definition
Date: Mon, 30 Jan 2017 21:59:55 +0000 (UTC)

branch: master
commit 5cebfc4495356376cf1c7191bb18aa6c014f8c31
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    mh-compat.el: remove duplicate definition
    
    * lisp/mh-e/mh-compat.el (mh-make-obsolete-variable):
    Remove duplicate definition.
---
 lisp/mh-e/mh-compat.el |   10 ----------
 1 file changed, 10 deletions(-)

diff --git a/lisp/mh-e/mh-compat.el b/lisp/mh-e/mh-compat.el
index aae751e..3f3990e 100644
--- a/lisp/mh-e/mh-compat.el
+++ b/lisp/mh-e/mh-compat.el
@@ -283,16 +283,6 @@ DOCSTRING arguments."
 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
-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 and by Emacs versions that lack ACCESS-TYPE,
 introduced in Emacs 24."
   (if (featurep 'xemacs)



reply via email to

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