From 81a39987224989774a3f14b70e78cc36722175c5 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Sun, 17 Jul 2022 00:56:10 -0400 Subject: [PATCH] Derive `Info-mode' from `special-mode' * lisp/info.el (Info-mode): Derive `Info-mode' from `special-mode'. This makes it easier to exclude it from globalized minor modes that don't apply to special modes (such as `global-whitespace-mode' and `global-display-fill-column-indicator-mode'). --- lisp/info.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/info.el b/lisp/info.el index 7fdb893edc..fca4051224 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -4382,7 +4382,7 @@ info-symbols-and-replacements ;; Autoload cookie needed by desktop.el ;;;###autoload -(define-derived-mode Info-mode nil "Info" ;FIXME: Derive from special-mode? +(define-derived-mode Info-mode special-mode "Info" "Info mode provides commands for browsing through the Info documentation tree. Documentation in Info is divided into \"nodes\", each of which discusses one topic and contains references to other nodes which discuss related -- 2.37.1