[Top][All Lists]

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

Re: [Emacs-diffs] master 306a6f8: * lisp/gnus/gnus-art.el (gnus-article-

From: Stefan Monnier
Subject: Re: [Emacs-diffs] master 306a6f8: * lisp/gnus/gnus-art.el (gnus-article-prepare): Make sure the article
Date: Fri, 13 Apr 2018 13:35:21 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>>> +       ;; Make sure the article begins with the top of the header.
>>> +       (save-selected-window
>>> +         (select-window (get-buffer-window gnus-article-buffer))
>>> +         (goto-char (point-min)))
>> Any reason this doesn't use `with-selected-window`?
> There's no need to _select_ the window.  What Lars wants is probably

Duh!  I focused on the `save-selected-window` (which is rarely "quite
right" in my experience) and completely missed the rest.  Thanks!


reply via email to

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