bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#39912: [PATCH] Open describe-function links in view-mode (Bug#39912)


From: Nicholas Savage
Subject: bug#39912: [PATCH] Open describe-function links in view-mode (Bug#39912)
Date: Wed, 09 Sep 2020 20:43:45 -0400
User-agent: Cyrus-JMAP/3.3.0-259-g88fbbfa-fm-20200903.003-g88fbbfa3

Good call. I've changed it to using view-buffer-other-window instead, which I 
think gets us where we want to be - it opens the NEWS file in view-mode, but 
also in another window as is consistent with previous behaviour.

On Wed, Sep 9, 2020, at 05:39, Lars Ingebrigtsen wrote:
> "Nicholas Savage" <nick@nicksavage.ca> writes:
> 
> > -    (pop-to-buffer (find-file-noselect file))
> > +    (view-buffer (find-file-noselect file))
> 
> pop-to-buffer opens the NEWS buffer in a different window, though, while
> view-buffer stays in the same window.  So perhaps it should pop first
> and then call view-buffer?
> 
> -- 
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no
>

Attachment: 0001-Open-describe-function-NEWS-links-in-view-mode-Bug-3.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]