diff options
| author | Alan Mackenzie | 2017-02-12 10:59:03 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2017-02-12 10:59:03 +0000 |
| commit | f4d5b687150810129b7a1d5b006e31ccf82b691b (patch) | |
| tree | 4229b13800349032697daae3904dc3773e6b7a80 /lisp/mh-e/mh-compat.el | |
| parent | d5514332d4a6092673ce1f78fadcae0c57f7be64 (diff) | |
| parent | 148100d98319499f0ac6f57b8be08cbd14884a5c (diff) | |
| download | emacs-comment-cache.tar.gz emacs-comment-cache.zip | |
Merge branch 'master' into comment-cachecomment-cache
Diffstat (limited to 'lisp/mh-e/mh-compat.el')
| -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) |