summaryrefslogtreecommitdiff
path: root/lisp/mh-e/mh-show.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-11-17 06:05:12 +0100
committerStefan Kangas <stefan@marxist.se>2021-11-17 06:05:12 +0100
commit3be2a6b8b4098e5cf118d196e4cba37054d8292b (patch)
tree8f204d1bfc127c6912db24dcdaf5b1939c818b59 /lisp/mh-e/mh-show.el
parent0fd79ee039de664bc06b0dbcaee786f88a2b079c (diff)
downloademacs-3be2a6b8b4098e5cf118d196e4cba37054d8292b.tar.gz
Make mh-funcall-if-exists obsolete
* lisp/mh-e/mh-acros.el (mh-funcall-if-exists): Make obsolete. * lisp/mh-e/mh-alias.el (mh-read-address): * lisp/mh-e/mh-folder.el (mh-folder-mode): * lisp/mh-e/mh-mime.el (mh-mm-display-part): * lisp/mh-e/mh-show.el (mh-defun-show-buffer): * lisp/mh-e/mh-speed.el (mh-speedbar-change-expand-button-char): * lisp/mh-e/mh-tool-bar.el (mh-tool-bar-define): * lisp/mh-e/mh-utils.el (mh-logo-display): * lisp/mh-e/mh-xface.el (mh-face-display-function): Don't use above obsolete macro.
Diffstat (limited to 'lisp/mh-e/mh-show.el')
-rw-r--r--lisp/mh-e/mh-show.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mh-e/mh-show.el b/lisp/mh-e/mh-show.el
index 0f85cd6f69a..16489bf0172 100644
--- a/lisp/mh-e/mh-show.el
+++ b/lisp/mh-e/mh-show.el
@@ -367,7 +367,8 @@ still visible.\n")
(setq normal-exit t))
(deactivate-mark)
(when (eq major-mode 'mh-folder-mode)
- (mh-funcall-if-exists hl-line-highlight))
+ (when (fboundp 'hl-line-highlight)
+ (hl-line-highlight)))
(cond ((not normal-exit)
(set-window-configuration config))
,(if dont-return