From: Stefan Kangas Date: Sat, 28 Sep 2019 19:05:11 +0000 (+0200) Subject: Fix customizing ibuffer-help-buffer-modes X-Git-Tag: emacs-27.0.90~1390^2~1 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6691a5c1ad1c1fe3c55821a4d34d1d2071dcbbdc;p=emacs.git 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. --- 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