emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master ab5468e1a0: Derive `Info-mode' from `special-mode'


From: Stefan Monnier
Subject: master ab5468e1a0: Derive `Info-mode' from `special-mode'
Date: Sun, 17 Jul 2022 21:59:04 -0400 (EDT)

branch: master
commit ab5468e1a01ede3d571765ab491ce2c933ace70f
Author: Richard Hansen <rhansen@rhansen.org>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    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 @@ 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]