From 1f9d00ca8a3bb4f5fb5bab79da30f91c844c39e2 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 3 May 2003 13:51:00 +0000 Subject: [PATCH] (uniquify-ignore-buffers-re): Change default to match some Gnus buffers. --- lisp/uniquify.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/uniquify.el b/lisp/uniquify.el index 28f231a1e42..8842a491363 100644 --- a/lisp/uniquify.el +++ b/lisp/uniquify.el @@ -127,7 +127,8 @@ other buffer names are changed." :type 'boolean :group 'uniquify) -(defcustom uniquify-ignore-buffers-re nil +;; The default value matches certain Gnus buffers. +(defcustom uniquify-ignore-buffers-re "^\\*\\(un\\)?sent " "*Regular expression matching buffer names that should not be uniquified. For instance, set this to \"^draft-[0-9]+$\" to avoid having uniquify rename draft buffers even if `uniquify-after-kill-buffer-p' is non-nil and the -- 2.39.2