mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-27 15:40:47 -08:00
Allow help-C-file-name to work on symbols designating subrs
* lisp/help-fns.el (help-C-file-name): Allow working on symbols designating subrs (bug#14932).
This commit is contained in:
parent
db1de74e73
commit
c8ec798d70
1 changed files with 3 additions and 1 deletions
|
|
@ -268,7 +268,9 @@ If we can't find the file name, nil is returned."
|
|||
(let ((docbuf (get-buffer-create " *DOC*"))
|
||||
(name (if (eq 'var kind)
|
||||
(concat "V" (symbol-name subr-or-var))
|
||||
(concat "F" (subr-name (advice--cd*r subr-or-var))))))
|
||||
(concat "F" (if (symbolp subr-or-var)
|
||||
(symbol-name subr-or-var)
|
||||
(subr-name (advice--cd*r subr-or-var)))))))
|
||||
(with-current-buffer docbuf
|
||||
(goto-char (point-min))
|
||||
(if (eobp)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue