From ab5468e1a01ede3d571765ab491ce2c933ace70f 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 7fdb893edc5..fca40512246 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -4382,7 +4382,7 @@ a string of ASCII characters.") ;; 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.39.5