emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/bufferlo 914c381e9f 16/37: Fix buffer matching


From: ELPA Syncer
Subject: [elpa] externals/bufferlo 914c381e9f 16/37: Fix buffer matching
Date: Sun, 5 Nov 2023 09:57:32 -0500 (EST)

branch: externals/bufferlo
commit 914c381e9ff8c0abe1f3bc953f838be2ec822799
Author: Florian Rommel <mail@florommel.de>
Commit: Florian Rommel <mail@florommel.de>

    Fix buffer matching
---
 bufferlo.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bufferlo.el b/bufferlo.el
index 5e8ea3f2bc..3521f1fff4 100644
--- a/bufferlo.el
+++ b/bufferlo.el
@@ -88,12 +88,12 @@ This overrides buffers excluded by 
`bufferlo-exclude-buffer-filters.'"
 (defcustom bufferlo-exclude-buffer-filters '(".*")
   "Buffers that should always get excluded in a new tab or frame.
 This is a list of regular expressions that match buffer names.
-This gets overridden by `bufferlo-include-buffer-filters.'"
+Buffers included by `bufferlo-include-buffer-filters' take precedence."
   :group 'bufferlo
   :type '(repeat string))
 
 (defcustom bufferlo-kill-buffers-exclude-filters
-  '(" .*" "\\*Messages\\*" "\\*scratch\\*")
+  '("\\` " "\\`\\*Messages\\*\\'" "\\`\\*scratch\\*\\'")
   "Buffers that should not be killed by `bufferlo-kill-buffers'.
 This is a list of regular expressions that match buffer names."
   :group 'bufferlo
@@ -173,7 +173,7 @@ a tab index in the given frame."
 (defun bufferlo--merge-regexp-list (regexp-list)
   "Merge a list of regular expressions."
   (mapconcat (lambda (x)
-               (concat "\\(?:^" x "$\\)"))
+               (concat "\\(?:" x "\\)"))
              regexp-list "\\|"))
 
 (defun bufferlo--include-exclude-buffers (frame)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]