]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't raise an extraneous frame (bug#29696)
authorBasil L. Contovounesios <contovob@tcd.ie>
Thu, 14 Dec 2017 04:45:21 +0000 (04:45 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 14 Dec 2017 04:45:21 +0000 (04:45 +0000)
* lisp/gnus/gnus-art.el (gnus-article-read-summary-keys): Lookup
summary buffer keys from article buffer without affecting window
configuration (bug#29696).

lisp/gnus/gnus-art.el

index e9cc09ce9b8797e98a984cd959b18bc9371bf74b..65d3bbe71cac4474495248c2701539b32779af72 100644 (file)
@@ -6712,8 +6712,7 @@ not have a face in `gnus-article-boring-faces'."
          (member keys nosave-but-article)
          (member keys nosave-in-article))
       (let (func)
-       (save-window-excursion
-         (pop-to-buffer gnus-article-current-summary)
+       (with-current-buffer gnus-article-current-summary
          ;; We disable the pick minor mode commands.
          (let (gnus-pick-mode)
            (setq func (key-binding keys t))))