[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/progmodes/which-func.el [lexbind]
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/which-func.el [lexbind] |
Date: |
Wed, 08 Dec 2004 19:17:25 -0500 |
Index: emacs/lisp/progmodes/which-func.el
diff -c emacs/lisp/progmodes/which-func.el:1.3.2.4
emacs/lisp/progmodes/which-func.el:1.3.2.5
*** emacs/lisp/progmodes/which-func.el:1.3.2.4 Sat Sep 4 09:24:35 2004
--- emacs/lisp/progmodes/which-func.el Wed Dec 8 23:36:36 2004
***************
*** 243,257 ****
Uses `which-function-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.
! (let ((hooks which-func-functions))
! (while hooks
! (let ((value (funcall (car hooks))))
! (when value
! (setq name value
! hooks nil)))
! (setq hooks (cdr hooks))))
;; If Imenu is loaded, try to make an index alist with it.
(when (and (null name)
--- 243,251 ----
Uses `which-function-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.
! (run-hook-with-args-until-success 'which-func-functions)))
;; If Imenu is loaded, try to make an index alist with it.
(when (and (null name)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/progmodes/which-func.el [lexbind],
Miles Bader <=