From 845299cd0cc8ed39f2557f2944b921652b966515 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Wed, 6 Dec 2023 14:24:40 +0000 Subject: [PATCH] dot/emacs, el/dot-emacs.el: Move `display-buffer-reuse-frames' setting. It belongs with the other `display-buffer' hacking. --- dot/emacs | 7 +++---- el/dot-emacs.el | 2 ++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/dot/emacs b/dot/emacs index 7383ea8..3c213b9 100644 --- a/dot/emacs +++ b/dot/emacs @@ -364,10 +364,9 @@ (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 diff --git a/el/dot-emacs.el b/el/dot-emacs.el index ed894dd..abe67b0 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -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 -- 2.11.0