mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(which-function): Fix documentation/comment typo.
This commit is contained in:
parent
c6708cbc8e
commit
dfed8466d3
1 changed files with 2 additions and 2 deletions
|
|
@ -262,11 +262,11 @@ It calls them sequentially, and if any returns non-nil,
|
|||
|
||||
(defun which-function ()
|
||||
"Return current function name based on point.
|
||||
Uses `which-function-functions', `imenu--index-alist'
|
||||
Uses `which-func-functions', `imenu--index-alist'
|
||||
or `add-log-current-defun-function'.
|
||||
If no function name is found, return nil."
|
||||
(let ((name
|
||||
;; Try the `which-function-functions' functions first.
|
||||
;; Try the `which-func-functions' functions first.
|
||||
(run-hook-with-args-until-success 'which-func-functions)))
|
||||
|
||||
;; If Imenu is loaded, try to make an index alist with it.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue