diff options
| author | Stefan Kangas | 2022-08-19 18:18:32 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2022-08-19 18:18:32 +0200 |
| commit | ec62bb7799a7a32bb7840c64f48ce0795d3e6fd0 (patch) | |
| tree | 990db4d5eba1c2a3eecf71e43ab5a27bb93176b9 | |
| parent | da635838f25eddc5df041ece31b527828d49abcc (diff) | |
| download | emacs-ec62bb7799a7a32bb7840c64f48ce0795d3e6fd0.tar.gz emacs-ec62bb7799a7a32bb7840c64f48ce0795d3e6fd0.zip | |
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.
| -rw-r--r-- | lisp/info.el | 8 |
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." | |||
| 289 | (defvar Info-isearch-initial-history nil) | 289 | (defvar Info-isearch-initial-history nil) |
| 290 | (defvar Info-isearch-initial-history-list nil) | 290 | (defvar Info-isearch-initial-history-list nil) |
| 291 | 291 | ||
| 292 | (defcustom Info-mode-hook | 292 | (defcustom Info-mode-hook '(turn-on-font-lock) |
| 293 | ;; Try to obey obsolete Info-fontify settings. | ||
| 294 | (unless (and (boundp 'Info-fontify) (null Info-fontify)) | ||
| 295 | '(turn-on-font-lock)) | ||
| 296 | "Hook run when activating Info Mode." | 293 | "Hook run when activating Info Mode." |
| 297 | :type 'hook) | 294 | :type 'hook |
| 295 | :version "29.1") | ||
| 298 | 296 | ||
| 299 | (defcustom Info-selection-hook nil | 297 | (defcustom Info-selection-hook nil |
| 300 | "Hook run when an Info node is selected as the current node." | 298 | "Hook run when an Info node is selected as the current node." |