*** empty log message ***
authorJuanma Barranquero <lekktu@gmail.com>
Wed, 27 Feb 2008 16:38:37 +0000 (16:38 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Wed, 27 Feb 2008 16:38:37 +0000 (16:38 +0000)
lisp/ChangeLog
lisp/uniquify.el

index 5bc2fe8..341702e 100644 (file)
@@ -2,7 +2,7 @@
 
        * uniquify.el (uniquify-buffer-base-name): If the base name is an
        empty string, return nil to allow the caller to default to the
-       buffer name.
+       buffer name.  Reported by Martin Fischer <parozusa@web.de>.
 
 2008-02-26  Jason Rumney  <jasonr@gnu.org>
 
index c07dd57..4d4f755 100644 (file)
@@ -192,7 +192,8 @@ It actually holds the list of `uniquify-item's corresponding to the conflict.")
 ;; 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."
+Return nil if the buffer is not managed by uniquify,
+or if the base name is empty."
   (and uniquify-managed
        (let ((base (uniquify-item-base (car uniquify-managed))))
         (if (string= base "") nil base))))