dot/emacs, el/dot-emacs.el: Move `display-buffer-reuse-frames' setting.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 6 Dec 2023 14:24:40 +0000 (14:24 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 6 Dec 2023 14:24:40 +0000 (14:24 +0000)
It belongs with the other `display-buffer' hacking.

dot/emacs
el/dot-emacs.el

index 7383ea8..3c213b9 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
 (setq linum-format "%7d ")
 (setq next-line-add-newlines nil)      ;Don't add weird newlines
 (setq split-height-threshold nil)      ;Reuse windows where sensible
-(setq display-buffer-reuse-frames nil  ;Don't confuse me by showing buffers
-      iswitchb-default-method 'samewindow ;in other random frames
-      ido-default-file-method 'selected-window
-      ido-default-buffer-method 'selected-window)
+(setq iswitchb-default-method 'samewindow ;Don't confuse me by showing
+      ido-default-file-method 'selected-window ;buffers in other random
+      ido-default-buffer-method 'selected-window) ;frames
 (setq ido-enable-prefix t
       ido-enable-flex-matching t
       ido-everywhere t
index ed894dd..abe67b0 100644 (file)
@@ -751,6 +751,8 @@ Pretend they don't exist.  They might be on other display devices."
 (setq even-window-sizes nil
       even-window-heights nil)
 
+(setq display-buffer-reuse-frames nil)
+
 ;; Rename buffers along with files.
 
 (defvar mdw-inhibit-rename-buffer nil