[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help cross reference to source file
From: |
Stefan Monnier |
Subject: |
Re: Help cross reference to source file |
Date: |
Mon, 10 Jul 2006 12:41:10 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> Even if help can't take me to the right place in the source file,
> I think it should open the file - and provide the error message,
> inviting me to search for it in the file.
> Does this give behavior you like?
> *** find-func.el 18 Apr 2006 16:51:36 -0400 1.72
> --- find-func.el 09 Jul 2006 14:48:06 -0400
> ***************
> *** 244,249 ****
> --- 244,250 ----
> (progn
> (beginning-of-line)
> (cons (current-buffer) (point)))
> + (switch-to-buffer (current-buffer))
> (error "Cannot find definition of `%s' in library `%s'"
> symbol library))))))))
This burps if the selected window is a minibuffer or dedicated window.
I think we should mark switch-to-buffer as "not for use from elisp" (like
insert-buffer and others).
Stefan