diff options
| author | Nick Roberts | 2006-07-27 12:18:03 +0000 |
|---|---|---|
| committer | Nick Roberts | 2006-07-27 12:18:03 +0000 |
| commit | dfed8466d38ed33973e85bfef2340bbf3f67f630 (patch) | |
| tree | ae3a2f887fec76cff23c0854734ac5869231df1b | |
| parent | c6708cbc8ecdd342ce2887500bf5fd804c62e5fb (diff) | |
| download | emacs-dfed8466d38ed33973e85bfef2340bbf3f67f630.tar.gz emacs-dfed8466d38ed33973e85bfef2340bbf3f67f630.zip | |
(which-function): Fix documentation/comment typo.
| -rw-r--r-- | lisp/progmodes/which-func.el | 4 |
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. |
| 265 | Uses `which-function-functions', `imenu--index-alist' | 265 | Uses `which-func-functions', `imenu--index-alist' |
| 266 | or `add-log-current-defun-function'. | 266 | or `add-log-current-defun-function'. |
| 267 | If no function name is found, return nil." | 267 | If 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. |