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:
Eli Zaretskii 2015-08-15 11:26:36 +03:00
parent 8db2b2a7d3
commit 5bbc55fcdb

View file

@ -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))))