changeset 80229:581345c45877

*** empty log message ***
author Juanma Barranquero <lekktu@gmail.com>
date Wed, 27 Feb 2008 16:38:37 +0000
parents 17880c139caa
children 9c2ef4f2ad6a
files lisp/uniquify.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/uniquify.el	Wed Feb 27 16:36:59 2008 +0000
+++ b/lisp/uniquify.el	Wed Feb 27 16:38:37 2008 +0000
@@ -192,7 +192,8 @@
 ;; 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))))