1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-07 12:10:55 +00:00

Fix doc strings in info.el

* lisp/info.el (Info-selection-hook, Info-mode-hook)
(Info-edit-mode-hook): Doc fixes.  (Bug#25794)
This commit is contained in:
Eli Zaretskii 2017-02-25 10:52:11 +02:00
parent c1ed1525c6
commit 640661838d

View File

@ -367,17 +367,17 @@ with wrapping around the current Info node."
;; Try to obey obsolete Info-fontify settings.
(unless (and (boundp 'Info-fontify) (null Info-fontify))
'(turn-on-font-lock))
"Hooks run when `Info-mode' is called."
"Hook run when activating Info Mode."
:type 'hook
:group 'info)
(defcustom Info-selection-hook nil
"Hooks run when `Info-select-node' is called."
"Hook run when an Info node is selected as the current node."
:type 'hook
:group 'info)
(defvar Info-edit-mode-hook nil
"Hooks run when `Info-edit-mode' is called.")
"Hook run when `Info-edit-mode' is activated.")
(make-obsolete-variable 'Info-edit-mode-hook
"editing Info nodes by hand is not recommended." "24.4")