+2008-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * uniquify.el (uniquify-buffer-base-name): Undo last change. Should be
+ done in desktop.el instead.
+
2008-02-28 Glenn Morris <rgm@gnu.org>
* autoinsert.el (auto-insert-alist): Update to FDL 1.2.
;; Add uniquify-list-buffers-directory-modes
;; Stefan Monnier <monnier@cs.yale.edu> 17 Nov 2000
;; Algorithm and data structure changed to reduce consing with lots of buffers
-;; Francesco Potortì <pot@gnu.org> (ideas by rms and monnier) 2001-07-18
+;; Francesco Potortì <pot@gnu.org> (ideas by rms and monnier) 2001-07-18
;; Valuable feedback was provided by
;; Paul Smith <psmith@baynetworks.com>,
;; Used in desktop.el to save the non-uniquified buffer name
(defun uniquify-buffer-base-name ()
"Return the base name of the current buffer.
-Return nil if the buffer is not managed by uniquify,
-or if the base name is empty."
+Return nil if the buffer is not managed by uniquify."
(and uniquify-managed
- (let ((base (uniquify-item-base (car uniquify-managed))))
- (if (string= base "") nil base))))
+ (uniquify-item-base (car uniquify-managed))))
;;; Main entry point.