diff options
| author | Glenn Morris | 2017-01-30 16:59:37 -0500 |
|---|---|---|
| committer | Glenn Morris | 2017-01-30 16:59:37 -0500 |
| commit | 5cebfc4495356376cf1c7191bb18aa6c014f8c31 (patch) | |
| tree | 68d2ba52390704483e96a8cfc1cd0c1287692e97 | |
| parent | 1056be0b3c6f7f6732bd6f31f78d3a7e1a41f2c2 (diff) | |
| download | emacs-5cebfc4495356376cf1c7191bb18aa6c014f8c31.tar.gz emacs-5cebfc4495356376cf1c7191bb18aa6c014f8c31.zip | |
mh-compat.el: remove duplicate definition
* lisp/mh-e/mh-compat.el (mh-make-obsolete-variable):
Remove duplicate definition.
| -rw-r--r-- | lisp/mh-e/mh-compat.el | 10 |
1 files changed, 0 insertions, 10 deletions
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 | |||
| @@ -283,16 +283,6 @@ DOCSTRING arguments." | |||
| 283 | See documentation for `make-obsolete-variable' for a description | 283 | See documentation for `make-obsolete-variable' for a description |
| 284 | of the arguments OBSOLETE-NAME, CURRENT-NAME, and perhaps WHEN | 284 | of the arguments OBSOLETE-NAME, CURRENT-NAME, and perhaps WHEN |
| 285 | and ACCESS-TYPE. This macro is used by XEmacs that lacks WHEN and | 285 | and ACCESS-TYPE. This macro is used by XEmacs that lacks WHEN and |
| 286 | ACCESS-TYPE arguments." | ||
| 287 | (if (featurep 'xemacs) | ||
| 288 | `(make-obsolete-variable ,obsolete-name ,current-name) | ||
| 289 | `(make-obsolete-variable ,obsolete-name ,current-name ,when ,access-type))) | ||
| 290 | |||
| 291 | (defmacro mh-make-obsolete-variable (obsolete-name current-name &optional when access-type) | ||
| 292 | "Make the byte-compiler warn that OBSOLETE-NAME is obsolete. | ||
| 293 | See documentation for `make-obsolete-variable' for a description | ||
| 294 | of the arguments OBSOLETE-NAME, CURRENT-NAME, and perhaps WHEN | ||
| 295 | and ACCESS-TYPE. This macro is used by XEmacs that lacks WHEN and | ||
| 296 | ACCESS-TYPE arguments and by Emacs versions that lack ACCESS-TYPE, | 286 | ACCESS-TYPE arguments and by Emacs versions that lack ACCESS-TYPE, |
| 297 | introduced in Emacs 24." | 287 | introduced in Emacs 24." |
| 298 | (if (featurep 'xemacs) | 288 | (if (featurep 'xemacs) |