diff options
| author | Eli Zaretskii | 2015-08-15 11:26:36 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2015-08-15 11:26:36 +0300 |
| commit | 5bbc55fcdb050e421286a6f9e51c7732cbf6eebe (patch) | |
| tree | b8eb43eb11de42b4c5586b50f27a3b0494c9c66a | |
| parent | 8db2b2a7d3fc3e4475bc4137c11069a69a3234ec (diff) | |
| download | emacs-5bbc55fcdb050e421286a6f9e51c7732cbf6eebe.tar.gz emacs-5bbc55fcdb050e421286a6f9e51c7732cbf6eebe.zip | |
Add doc strings to 2 help-mode.el functions
* lisp/help-mode.el (help-mode-setup, help-mode-finish): Add doc
strings. (Bug#21263)
| -rw-r--r-- | lisp/help-mode.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/help-mode.el b/lisp/help-mode.el index e1fc9fd1984..37847e20279 100644 --- a/lisp/help-mode.el +++ b/lisp/help-mode.el | |||
| @@ -294,11 +294,13 @@ Commands: | |||
| 294 | 294 | ||
| 295 | ;;;###autoload | 295 | ;;;###autoload |
| 296 | (defun help-mode-setup () | 296 | (defun help-mode-setup () |
| 297 | "Enter Help Mode in the current buffer." | ||
| 297 | (help-mode) | 298 | (help-mode) |
| 298 | (setq buffer-read-only nil)) | 299 | (setq buffer-read-only nil)) |
| 299 | 300 | ||
| 300 | ;;;###autoload | 301 | ;;;###autoload |
| 301 | (defun help-mode-finish () | 302 | (defun help-mode-finish () |
| 303 | "Exit Help Mode in the current buffer." | ||
| 302 | (when (derived-mode-p 'help-mode) | 304 | (when (derived-mode-p 'help-mode) |
| 303 | (setq buffer-read-only t) | 305 | (setq buffer-read-only t) |
| 304 | (help-make-xrefs (current-buffer)))) | 306 | (help-make-xrefs (current-buffer)))) |