From bf25734059394c09045704c514187f78592b6b0c Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Mon, 17 Apr 2023 16:06:18 +0700 Subject: [PATCH] More centaur tabs fixes --- .config/emacs/init.org | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.config/emacs/init.org b/.config/emacs/init.org index 8ccf4fb..3097a52 100644 --- a/.config/emacs/init.org +++ b/.config/emacs/init.org @@ -1083,10 +1083,11 @@ Ace Window will show a hint if there are more than 2 windows, but I don't really (cond ((or (derived-mode-p 'comint-mode) (derived-mode-p 'sql-interactive-mode) - (string-equal "*HTTP" (substring (buffer-name) 0 5)) + (string-match "*HTTP" (buffer-name)) (derived-mode-p 'compilation-mode)) "REPLs") - ((or (string-equal "*" (substring (buffer-name) 0 1)) + ((or (and (string-equal "*" (substring (buffer-name) 0 1)) + (not (string-match "*Org Src" (buffer-name)))) (memq major-mode '(magit-process-mode magit-status-mode magit-diff-mode