~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9f76176
)
el/dot-emacs.el: Don't select the designated window when displaying buffer.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 3 May 2022 09:10:08 +0000
(10:10 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Tue, 3 May 2022 09:10:08 +0000
(10:10 +0100)
el/dot-emacs.el
patch
|
blob
|
blame
|
history
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index
d7b4800
..
fc219b2
100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-677,8
+677,8
@@
With a prefix argument, clear the designated window."
"Display function to use the designated window."
(prog1 mdw-designated-window
(when mdw-designated-window
- (
select-window mdw-designated-window)
-
(switch-to-buffer buffer nil t
))
+ (
with-selected-window mdw-designated-window
+
(switch-to-buffer buffer nil t)
))
(setq mdw-designated-window nil)))
(setq display-buffer-base-action