summaryrefslogtreecommitdiff
path: root/lisp/uniquify.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/uniquify.el')
-rw-r--r--lisp/uniquify.el3
1 files changed, 2 insertions, 1 deletions
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