From 4f3a7d02d5eafad053d26851123f18e387a1eee5 Mon Sep 17 00:00:00 2001 From: Bill Wohler Date: Mon, 30 Jan 2006 00:50:49 +0000 Subject: [PATCH] (mh-folder-mode): Use add-to-list to modify minor-mode-alias. --- lisp/mh-e/mh-folder.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lisp/mh-e/mh-folder.el b/lisp/mh-e/mh-folder.el index cf5aad82ae9..98ecc06d7c2 100644 --- a/lisp/mh-e/mh-folder.el +++ b/lisp/mh-e/mh-folder.el @@ -656,9 +656,7 @@ perform the operation on all messages in that region. (make-local-variable 'hl-line-mode) ; avoid pollution (mh-funcall-if-exists hl-line-mode 1) (setq revert-buffer-function 'mh-undo-folder) - (or (assq 'mh-showing-mode minor-mode-alist) - (setq minor-mode-alist - (cons '(mh-showing-mode " Show") minor-mode-alist))) + (add-to-list 'minor-mode-alist '(mh-showing-mode " Show")) (easy-menu-add mh-folder-sequence-menu) (easy-menu-add mh-folder-message-menu) (easy-menu-add mh-folder-folder-menu) -- 2.39.2