diff options
author | Stefan Kangas <stefan@marxist.se> | 2021-10-07 17:02:05 +0200 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2021-10-07 17:07:38 +0200 |
commit | 25d4cb7e687cdb9d8fca36961d3bc6d0f3cd66f5 (patch) | |
tree | a97062211150f7de55a347f1077d427a7bffa1b2 /lisp/mh-e/mh-folder.el | |
parent | 9d14e410dac11990cf0e95a1a77e83827323530d (diff) | |
download | emacs-25d4cb7e687cdb9d8fca36961d3bc6d0f3cd66f5.tar.gz |
Revert "Declare compat macro mh-do-in-gnu-emacs obsolete"
This reverts commit 148b136651413d8eca0f805c786fb04b9c5878b8.
This commit led to some build failures that I don't yet understand, so
I'm reverting it for now so as not to leave master in a broken state.
Diffstat (limited to 'lisp/mh-e/mh-folder.el')
-rw-r--r-- | lisp/mh-e/mh-folder.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/mh-e/mh-folder.el b/lisp/mh-e/mh-folder.el index 494dee6f3b4..5fbaf12ef97 100644 --- a/lisp/mh-e/mh-folder.el +++ b/lisp/mh-e/mh-folder.el @@ -580,10 +580,11 @@ region in the MH-Folder buffer, then the MH-E command will perform the operation on all messages in that region. \\{mh-folder-mode-map}" - (unless mh-folder-tool-bar-map - (mh-tool-bar-folder-buttons-init)) - (if (boundp 'tool-bar-map) - (set (make-local-variable 'tool-bar-map) mh-folder-tool-bar-map)) + (mh-do-in-gnu-emacs + (unless mh-folder-tool-bar-map + (mh-tool-bar-folder-buttons-init)) + (if (boundp 'tool-bar-map) + (set (make-local-variable 'tool-bar-map) mh-folder-tool-bar-map))) (make-local-variable 'font-lock-defaults) (setq font-lock-defaults '(mh-folder-font-lock-keywords t)) (make-local-variable 'desktop-save-buffer) |