aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Roberts2006-07-27 12:18:03 +0000
committerNick Roberts2006-07-27 12:18:03 +0000
commitdfed8466d38ed33973e85bfef2340bbf3f67f630 (patch)
treeae3a2f887fec76cff23c0854734ac5869231df1b
parentc6708cbc8ecdd342ce2887500bf5fd804c62e5fb (diff)
downloademacs-dfed8466d38ed33973e85bfef2340bbf3f67f630.tar.gz
emacs-dfed8466d38ed33973e85bfef2340bbf3f67f630.zip
(which-function): Fix documentation/comment typo.
-rw-r--r--lisp/progmodes/which-func.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/which-func.el b/lisp/progmodes/which-func.el
index 8ca7eb188ec..b622e536d26 100644
--- a/lisp/progmodes/which-func.el
+++ b/lisp/progmodes/which-func.el
@@ -262,11 +262,11 @@ It calls them sequentially, and if any returns non-nil,
262 262
263(defun which-function () 263(defun which-function ()
264 "Return current function name based on point. 264 "Return current function name based on point.
265Uses `which-function-functions', `imenu--index-alist' 265Uses `which-func-functions', `imenu--index-alist'
266or `add-log-current-defun-function'. 266or `add-log-current-defun-function'.
267If no function name is found, return nil." 267If no function name is found, return nil."
268 (let ((name 268 (let ((name
269 ;; Try the `which-function-functions' functions first. 269 ;; Try the `which-func-functions' functions first.
270 (run-hook-with-args-until-success 'which-func-functions))) 270 (run-hook-with-args-until-success 'which-func-functions)))
271 271
272 ;; If Imenu is loaded, try to make an index alist with it. 272 ;; If Imenu is loaded, try to make an index alist with it.