summaryrefslogtreecommitdiff
path: root/lisp/info.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/info.el')
-rw-r--r--lisp/info.el8
1 files changed, 3 insertions, 5 deletions
diff --git a/lisp/info.el b/lisp/info.el
index 7c1b34ed642..fb4c3fd7829 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."