From b23acc3bbe050574c4ce43f500f263c7df31b880 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Fri, 29 Sep 2023 12:55:03 +0100 Subject: (Emacs)~fix up some display records Figured out you can put all display functions into one list --- Emacs/.config/emacs/config.org | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 8d04478..9ad7acc 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -1357,9 +1357,9 @@ thing faster and within Emacs lisp. ~rgrep~ is useful though. :straight nil :display ("^\\*grep.*" - (display-buffer-at-bottom) + (display-buffer-at-bottom display-buffer-reuse-window) (window-height . 0.25) - (display-buffer-reuse-window)) + (reusable-frames . t)) :general (search-leader "d" #'rgrep)) @@ -1725,9 +1725,6 @@ without switching windows all within Emacs. #+begin_src emacs-lisp (use-package xwidget :straight nil - :display - ("\\*xwidget.*" - (display-buffer-pop-up-frame)) :general (app-leader "u" #'xwidget-webkit-browse-url) @@ -2220,8 +2217,7 @@ or something, but very annoying as it's a break from standards! (setq Man-notify-method 'pushy) :display ("^\\*Man.*" - (display-buffer-reuse-mode-window) - (display-buffer-same-window)) + (display-buffer-reuse-mode-window display-buffer-same-window)) :general (file-leader "m" #'man) ;; kinda like "find man page" @@ -2504,7 +2500,8 @@ Colourising the compilation buffer so ANSI colour codes get computed. "g" #'recompile) :display ("\\*compilation\\*" - (display-buffer-at-bottom) + (display-buffer-reuse-window display-buffer-at-bottom) + (reusable-frames . t) (window-height . 0.25)) :config (defun +compile/colourise () -- cgit v1.2.3-13-gbd6f