changeset 50971:28d8b4a38ce1

(uniquify-after-kill-buffer-p): Set default to t. (uniquify-ignore-buffers-re): Revert to nil now that uniquify is more careful about preserving buffer names.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 13 May 2003 19:15:19 +0000
parents 7831ca508f35
children f9aa8c8600ff
files lisp/uniquify.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/uniquify.el	Tue May 13 19:13:13 2003 +0000
+++ b/lisp/uniquify.el	Tue May 13 19:15:19 2003 +0000
@@ -111,7 +111,7 @@
 		(const :tag "standard Emacs behavior (nil)" nil))
   :require 'uniquify)
 
-(defcustom uniquify-after-kill-buffer-p nil
+(defcustom uniquify-after-kill-buffer-p t
   "If non-nil, rerationalize buffer names after a buffer has been killed."
   :type 'boolean)
 
@@ -122,7 +122,7 @@
   :type 'boolean)
 
 ;; The default value matches certain Gnus buffers.
-(defcustom uniquify-ignore-buffers-re "^\\*\\(un\\)?sent "
+(defcustom uniquify-ignore-buffers-re nil
   "*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
@@ -213,7 +213,7 @@
 	    (setf (uniquify-item-dirname (car items))
 		  (uniquify-buffer-file-name
 		   (uniquify-item-buffer (car items))))
-	    ;; This shouldn't happen, but maybe there' no dirname any more.
+	    ;; This shouldn't happen, but maybe there's no dirname any more.
 	    (unless (uniquify-item-dirname (car items))
 	      (with-current-buffer (uniquify-item-buffer (car items))
 		(setq uniquify-managed nil))