From: Nick Roberts Date: Thu, 27 Jul 2006 12:18:03 +0000 (+0000) Subject: (which-function): Fix documentation/comment typo. X-Git-Tag: emacs-pretest-22.0.90~1225 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dfed8466d38ed33973e85bfef2340bbf3f67f630;p=emacs.git (which-function): Fix documentation/comment typo. --- 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, (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.