summaryrefslogtreecommitdiff
path: root/lisp/uniquify.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2003-05-03 13:51:00 +0000
committerRichard M. Stallman <rms@gnu.org>2003-05-03 13:51:00 +0000
commit1f9d00ca8a3bb4f5fb5bab79da30f91c844c39e2 (patch)
treeaa8a64c2440bd0aa5842655cae993009d25a71f7 /lisp/uniquify.el
parent78e4fe69808695b91c30c1d83898c6d4964fdf22 (diff)
downloademacs-1f9d00ca8a3bb4f5fb5bab79da30f91c844c39e2.tar.gz
(uniquify-ignore-buffers-re): Change default to match some Gnus buffers.
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