[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 6691a5c: Fix customizing ibuffer-help-buffer-modes

From: Stefan Kangas
Subject: [Emacs-diffs] master 6691a5c: Fix customizing ibuffer-help-buffer-modes
Date: Sat, 28 Sep 2019 15:09:34 -0400 (EDT)

branch: master
commit 6691a5c1ad1c1fe3c55821a4d34d1d2071dcbbdc
Author: Stefan Kangas <address@hidden>
Commit: Stefan Kangas <address@hidden>

    Fix customizing ibuffer-help-buffer-modes
    * lisp/ibuffer.el (ibuffer-help-buffer-modes)
    * lisp/obsolete/info-edit.el (ibuffer-help-buffer-modes): Move
    Info-edit-mode reference to obsolete file.
 lisp/ibuffer.el            | 2 +-
 lisp/obsolete/info-edit.el | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el
index 3af06eb..c81b05e 100644
--- a/lisp/ibuffer.el
+++ b/lisp/ibuffer.el
@@ -317,7 +317,7 @@ directory, like `default-directory'."
 (defcustom ibuffer-help-buffer-modes
-  '(help-mode apropos-mode Info-mode Info-edit-mode)
+  '(help-mode apropos-mode Info-mode)
   "List of \"Help\" major modes."
   :type '(repeat function))
diff --git a/lisp/obsolete/info-edit.el b/lisp/obsolete/info-edit.el
index b64e840..55c52b5 100644
--- a/lisp/obsolete/info-edit.el
+++ b/lisp/obsolete/info-edit.el
@@ -78,6 +78,11 @@ This feature will be removed in future.")
        (message "Tags may have changed.  Use Info-tagify if necessary")))
+;; Moved here from definition of ibuffer-help-buffer-modes to make
+;; that variable customizable even though this code is obsolete.  See
+;; also Bug#30990.
+(add-to-list 'ibuffer-help-buffer-modes 'Info-edit-mode)
 (provide 'info-edit)
 ;;; info-edit.el ends here

reply via email to

[Prev in Thread] Current Thread [Next in Thread]