Ignore variable Info-fontify, deleted in 22.1

* lisp/info.el (Info-mode-hook): Don't obey variable Info-fontify,
deleted in Emacs 22.1.
This commit is contained in:
Stefan Kangas 2022-08-19 18:18:32 +02:00
parent da635838f2
commit ec62bb7799

View 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."