projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2c0eb6
)
Fix gnus-summary-expand-window placement of point
author
Basil L. Contovounesios
<contovob@tcd.ie>
Tue, 7 May 2019 12:46:22 +0000
(13:46 +0100)
committer
Basil L. Contovounesios
<contovob@tcd.ie>
Thu, 16 May 2019 23:55:58 +0000
(
00:55
+0100)
* lisp/gnus/gnus-win.el (gnus-configure-frame): Replace
switch-to-buffer with pop-to-buffer-same-window to avoid messing
with point. (bug#35613)
lisp/gnus/gnus-win.el
patch
|
blob
|
history
diff --git
a/lisp/gnus/gnus-win.el
b/lisp/gnus/gnus-win.el
index a992fe731cb0c00930f1c1056f1a769b79876ea9..40c5b42d45f4d7e5ba89d117540756dfc85e74aa 100644
(file)
--- a/
lisp/gnus/gnus-win.el
+++ b/
lisp/gnus/gnus-win.el
@@
-285,7
+285,7
@@
See the Gnus manual for an explanation of the syntax used.")
;; from a hard-dedicated frame, it creates (and
;; configures) a new frame, leaving the dedicated frame alone.
(pop-to-buffer buf))
- (t (
switch-to-buffer
buf)))))
+ (t (
pop-to-buffer-same-window
buf)))))
(when (memq 'frame-focus split)
(setq gnus-window-frame-focus window))
;; We return the window if it has the `point' spec.