From 6691a5c1ad1c1fe3c55821a4d34d1d2071dcbbdc Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sat, 28 Sep 2019 21:05:11 +0200 Subject: [PATCH] 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 3af06eba97e..c81b05efec6 100644 --- a/lisp/ibuffer.el +++ b/lisp/ibuffer.el @@ -317,7 +317,7 @@ directory, like `default-directory'." string)) (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 b64e84003fc..55c52b5abdb 100644 --- a/lisp/obsolete/info-edit.el +++ b/lisp/obsolete/info-edit.el @@ -78,6 +78,11 @@ This feature will be removed in future.") (buffer-modified-p) (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 -- 2.39.2