1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(find-lisp-object-file-name): Need a buffer position, not just a

buffer, to find a definition.
This commit is contained in:
Glenn Morris 2009-02-27 04:01:22 +00:00
parent 592465ca38
commit 6565b5ab20
2 changed files with 9 additions and 1 deletions

View file

@ -263,7 +263,7 @@ suitable file is found, return nil."
(condition-case nil
(find-function-search-for-symbol object nil file-name)
(error nil))))
(when location
(when (cdr location)
(with-current-buffer (car location)
(goto-char (cdr location))
(when (re-search-backward