[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/find-func.el
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/find-func.el |
Date: |
Mon, 12 Aug 2002 21:49:40 -0400 |
Index: emacs/lisp/emacs-lisp/find-func.el
diff -c emacs/lisp/emacs-lisp/find-func.el:1.35
emacs/lisp/emacs-lisp/find-func.el:1.36
*** emacs/lisp/emacs-lisp/find-func.el:1.35 Thu May 16 16:11:23 2002
--- emacs/lisp/emacs-lisp/find-func.el Mon Aug 12 21:49:40 2002
***************
*** 118,123 ****
--- 118,127 ----
`find-variable-regexp' is used. The search is done in library LIBRARY."
(if (null library)
(error "Don't know where `%s' is defined" symbol))
+ ;; Some functions are defined as part of the construct
+ ;; that defines something else.
+ (while (get symbol 'definition-name)
+ (setq symbol (get symbol 'definition-name)))
(save-match-data
(if (string-match "\\.el\\(c\\)\\'" library)
(setq library (substring library 0 (match-beginning 1))))
- [Emacs-diffs] Changes to emacs/lisp/emacs-lisp/find-func.el,
Richard M. Stallman <=