]> git.eshelyaron.com Git - emacs.git/commitdiff
Ignore variable Info-fontify, deleted in 22.1
authorStefan Kangas <stefankangas@gmail.com>
Fri, 19 Aug 2022 16:18:32 +0000 (18:18 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Fri, 19 Aug 2022 16:18:32 +0000 (18:18 +0200)
* lisp/info.el (Info-mode-hook): Don't obey variable Info-fontify,
deleted in Emacs 22.1.

lisp/info.el

index 7c1b34ed64288396c4b681366608859154ea1a67..fb4c3fd78298a62d5c86522f43392a03bac5b0e4 100644 (file)
@@ -289,12 +289,10 @@ with wrapping around the current Info node."
 (defvar Info-isearch-initial-history nil)
 (defvar Info-isearch-initial-history-list nil)
 
-(defcustom Info-mode-hook
-  ;; Try to obey obsolete Info-fontify settings.
-  (unless (and (boundp 'Info-fontify) (null Info-fontify))
-    '(turn-on-font-lock))
+(defcustom Info-mode-hook '(turn-on-font-lock)
   "Hook run when activating Info Mode."
-  :type 'hook)
+  :type 'hook
+  :version "29.1")
 
 (defcustom Info-selection-hook nil
   "Hook run when an Info node is selected as the current node."