From: Richard Hansen Date: Sun, 17 Jul 2022 04:56:10 +0000 (-0400) Subject: Derive `Info-mode' from `special-mode' X-Git-Tag: emacs-29.0.90~1447^2~873 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ab5468e1a01ede3d571765ab491ce2c933ace70f;p=emacs.git 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'). --- 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