diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2023-03-29 09:57:48 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2023-03-29 12:53:39 -0700 |
commit | 382d35421398b3cf44ad734e94651f8a2742238b (patch) | |
tree | 0c71f3ea32a0702c10b2d061bb807fc39b7cdf2a | |
parent | 004ee1ebe822a41e21ad0543d1d889466ccd0535 (diff) | |
download | dotfiles-382d35421398b3cf44ad734e94651f8a2742238b.tar.gz |
display-buffer-alist: use regexp-opt & add anchor
-rw-r--r-- | .emacs.d/init.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index e4d1b50d..fe63b28b 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1473,7 +1473,9 @@ don't consider windows satisfying the predicate EXCLUDE." ;; not sure about this. I might just use `spw--window-to-frame' when ;; they are not purely informational. How much of an advantage of ;; side windows is the way in which they can be toggled on and off? - ("\\*\\(?:eshell\\|scratch\\|compilation\\|scheme\\|slime-repl\\|sly-mrepl\\|inferior-lisp\\)" + (,(concat "^\\*" (regexp-opt '("eshell" "scratch" "compilation" + "scheme" "inferior-lisp" + "slime-repl" "sly-mrepl"))) (display-buffer-pop-up-window display-buffer-same-window) (window-height . 0.20) (preserve-size . (nil . t)) |