[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
From: |
Thien-Thi Nguyen |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/which-func.el |
Date: |
Sun, 05 Dec 2004 12:02:54 -0500 |
Index: emacs/lisp/progmodes/which-func.el
diff -c emacs/lisp/progmodes/which-func.el:1.6
emacs/lisp/progmodes/which-func.el:1.7
*** emacs/lisp/progmodes/which-func.el:1.6 Mon Aug 16 22:46:26 2004
--- emacs/lisp/progmodes/which-func.el Sun Dec 5 16:56:29 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,
Thien-Thi Nguyen <=