diff options
author | Glenn Morris <rgm@gnu.org> | 2009-02-27 04:01:22 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2009-02-27 04:01:22 +0000 |
commit | 6565b5ab2039c56332d95c736bf4883905520645 (patch) | |
tree | 5170173bf4e637eb79e68edf21dc9288ee1a4854 /lisp/help-fns.el | |
parent | 592465ca38496fb3fd5fb9402a2419c11f6389a8 (diff) | |
download | emacs-6565b5ab2039c56332d95c736bf4883905520645.tar.gz |
(find-lisp-object-file-name): Need a buffer position, not just a
buffer, to find a definition.
Diffstat (limited to 'lisp/help-fns.el')
-rw-r--r-- | lisp/help-fns.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el index 80f9c1f9603..8c323b94ee3 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el @@ -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 |