aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/uniquify.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/uniquify.el b/lisp/uniquify.el
index 382b7efd580..656f5c37080 100644
--- a/lisp/uniquify.el
+++ b/lisp/uniquify.el
@@ -111,7 +111,7 @@ would have the following buffer names in the various styles:
111 (const :tag "standard Emacs behavior (nil)" nil)) 111 (const :tag "standard Emacs behavior (nil)" nil))
112 :require 'uniquify) 112 :require 'uniquify)
113 113
114(defcustom uniquify-after-kill-buffer-p nil 114(defcustom uniquify-after-kill-buffer-p t
115 "If non-nil, rerationalize buffer names after a buffer has been killed." 115 "If non-nil, rerationalize buffer names after a buffer has been killed."
116 :type 'boolean) 116 :type 'boolean)
117 117
@@ -122,7 +122,7 @@ other buffer names are changed."
122 :type 'boolean) 122 :type 'boolean)
123 123
124;; The default value matches certain Gnus buffers. 124;; The default value matches certain Gnus buffers.
125(defcustom uniquify-ignore-buffers-re "^\\*\\(un\\)?sent " 125(defcustom uniquify-ignore-buffers-re nil
126 "*Regular expression matching buffer names that should not be uniquified. 126 "*Regular expression matching buffer names that should not be uniquified.
127For instance, set this to \"^draft-[0-9]+$\" to avoid having uniquify rename 127For instance, set this to \"^draft-[0-9]+$\" to avoid having uniquify rename
128draft buffers even if `uniquify-after-kill-buffer-p' is non-nil and the 128draft buffers even if `uniquify-after-kill-buffer-p' is non-nil and the
@@ -213,7 +213,7 @@ this rationaliztion."
213 (setf (uniquify-item-dirname (car items)) 213 (setf (uniquify-item-dirname (car items))
214 (uniquify-buffer-file-name 214 (uniquify-buffer-file-name
215 (uniquify-item-buffer (car items)))) 215 (uniquify-item-buffer (car items))))
216 ;; This shouldn't happen, but maybe there' no dirname any more. 216 ;; This shouldn't happen, but maybe there's no dirname any more.
217 (unless (uniquify-item-dirname (car items)) 217 (unless (uniquify-item-dirname (car items))
218 (with-current-buffer (uniquify-item-buffer (car items)) 218 (with-current-buffer (uniquify-item-buffer (car items))
219 (setq uniquify-managed nil)) 219 (setq uniquify-managed nil))