[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master ec62bb7799 1/2: Ignore variable Info-fontify, deleted in 22.1
From: |
Stefan Kangas |
Subject: |
master ec62bb7799 1/2: Ignore variable Info-fontify, deleted in 22.1 |
Date: |
Fri, 19 Aug 2022 12:27:43 -0400 (EDT) |
branch: master
commit ec62bb7799a7a32bb7840c64f48ce0795d3e6fd0
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>
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.
---
lisp/info.el | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/lisp/info.el b/lisp/info.el
index 7c1b34ed64..fb4c3fd782 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -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."