diff options
| author | Eli Zaretskii | 2015-11-14 22:02:26 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2015-11-14 22:02:26 +0200 |
| commit | 278d8c8e6c92729e4a00ae61699bc8f95342ea81 (patch) | |
| tree | b9864d7a125c2ae636b100470f05f1b8e21a724d /lisp | |
| parent | 478262d6cc00cd6261a598a38f8530270446a1d2 (diff) | |
| download | emacs-278d8c8e6c92729e4a00ae61699bc8f95342ea81.tar.gz emacs-278d8c8e6c92729e4a00ae61699bc8f95342ea81.zip | |
Document 'describe-symbol'
* doc/emacs/help.texi (Help Summary): Mention "C-h o".
(Name Help): Document "C-h o" and describe-symbol.
* lisp/help-fns.el (describe-symbol): Doc fix.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/help-fns.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el index e810a26c5a4..41911b8709c 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el | |||
| @@ -997,7 +997,10 @@ file-local variable.\n") | |||
| 997 | ;;;###autoload | 997 | ;;;###autoload |
| 998 | (defun describe-symbol (symbol &optional buffer frame) | 998 | (defun describe-symbol (symbol &optional buffer frame) |
| 999 | "Display the full documentation of SYMBOL. | 999 | "Display the full documentation of SYMBOL. |
| 1000 | Will show the info of SYMBOL as a function, variable, and/or face." | 1000 | Will show the info of SYMBOL as a function, variable, and/or face. |
| 1001 | Optional arguments BUFFER and FRAME specify for which buffer and | ||
| 1002 | frame to show the information about SYMBOL; they default to the | ||
| 1003 | current buffer and the selected frame, respectively." | ||
| 1001 | (interactive | 1004 | (interactive |
| 1002 | (let* ((v-or-f (symbol-at-point)) | 1005 | (let* ((v-or-f (symbol-at-point)) |
| 1003 | (found (cl-some (lambda (x) (funcall (nth 1 x) v-or-f)) | 1006 | (found (cl-some (lambda (x) (funcall (nth 1 x) v-or-f)) |