Add doc strings to 2 help-mode.el functions
* lisp/help-mode.el (help-mode-setup, help-mode-finish): Add doc strings. (Bug#21263)
This commit is contained in:
parent
8db2b2a7d3
commit
5bbc55fcdb
1 changed files with 2 additions and 0 deletions
|
@ -294,11 +294,13 @@ Commands:
|
|||
|
||||
;;;###autoload
|
||||
(defun help-mode-setup ()
|
||||
"Enter Help Mode in the current buffer."
|
||||
(help-mode)
|
||||
(setq buffer-read-only nil))
|
||||
|
||||
;;;###autoload
|
||||
(defun help-mode-finish ()
|
||||
"Exit Help Mode in the current buffer."
|
||||
(when (derived-mode-p 'help-mode)
|
||||
(setq buffer-read-only t)
|
||||
(help-make-xrefs (current-buffer))))
|
||||
|
|
Loading…
Add table
Reference in a new issue