summaryrefslogtreecommitdiff
path: root/lisp/mh-e/mh-acros.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-10-11 22:57:43 +0200
committerStefan Kangas <stefan@marxist.se>2021-10-11 22:57:43 +0200
commit76d75df8e7ae19c8aca3ab9a7fbee25fc3cf1e9e (patch)
tree969c35e4e531816a38a2a92e890f3280f714feb9 /lisp/mh-e/mh-acros.el
parent2810fe6bfca182e4376d818b5510507d5ff7e1b5 (diff)
downloademacs-76d75df8e7ae19c8aca3ab9a7fbee25fc3cf1e9e.tar.gz
Remove redundant calls to 'mh-do-in-gnu-emacs'
* lisp/mh-e/mh-compat.el (mh-require): * lisp/mh-e/mh-folder.el (mh-folder-mode): * lisp/mh-e/mh-letter.el (mh-letter-mode): * lisp/mh-e/mh-mime.el (mh-mime-button-map) (mh-mime-security-button-map, mh-small-image-p) (mh-signature-highlight): * lisp/mh-e/mh-show.el (mh-show-mode): * lisp/mh-e/mh-tool-bar.el (mh-tool-bar-define): * lisp/mh-e/mh-utils.el (mh-logo-display) (mh-hidden-header-keymap): * lisp/mh-e/mh-xface.el (mh-face-display-function) (mh-picon-image-types, mh-x-image-display): Remove redundant calls to 'mh-do-in-gnu-emacs'. * lisp/mh-e/mh-acros.el (mh-do-in-gnu-emacs): * lisp/mh-e/mh-tool-bar.el: Add comment explaining an issue that stops us from making 'mh-do-in-gnu-emacs' obsolete.
Diffstat (limited to 'lisp/mh-e/mh-acros.el')
-rw-r--r--lisp/mh-e/mh-acros.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/mh-e/mh-acros.el b/lisp/mh-e/mh-acros.el
index 6a0342407dd..3674acc6cc2 100644
--- a/lisp/mh-e/mh-acros.el
+++ b/lisp/mh-e/mh-acros.el
@@ -47,7 +47,10 @@
;;;###mh-autoload
(defmacro mh-do-in-gnu-emacs (&rest body)
"Execute BODY if in GNU Emacs."
- (declare (debug t) (indent defun))
+ ;; FIXME: This cannot yet be obsoleted, due to one remaining call in
+ ;; mh-tool-bar.el. Once that is removed, this can be obsoleted.
+ (declare ;; (obsolete nil "29.1")
+ (debug t) (indent defun))
(unless (featurep 'xemacs) `(progn ,@body)))
;;;###mh-autoload