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:
parent
592465ca38
commit
6565b5ab20
2 changed files with 9 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue