Mercurial > emacs
changeset 102309:ee7d5d4ca6e7
(find-lisp-object-file-name): Need a buffer position, not just a
buffer, to find a definition.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Fri, 27 Feb 2009 04:01:22 +0000 |
parents | 23fb4f756c63 |
children | 0197c170c401 |
files | lisp/ChangeLog lisp/help-fns.el |
diffstat | 2 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Fri Feb 27 04:00:45 2009 +0000 +++ b/lisp/ChangeLog Fri Feb 27 04:01:22 2009 +0000 @@ -1,3 +1,11 @@ +2009-02-27 Glenn Morris <rgm@gnu.org> + + * help-fns.el (find-lisp-object-file-name): Need a buffer position, not + just a buffer, to find a definition. + + * mail/rmail.el (rmail-speedbar-move-message): Preserve the directory + part against rmail-output's oddness. + 2009-02-27 Chong Yidong <cyd@stupidchicken.com> * menu-bar.el (menu-set-font): Assign the same font object to all
--- a/lisp/help-fns.el Fri Feb 27 04:00:45 2009 +0000 +++ b/lisp/help-fns.el Fri Feb 27 04:01:22 2009 +0000 @@ -263,7 +263,7 @@ (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