[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/uniquify.el,v [EMACS_22_BASE]
From: |
Juanma Barranquero |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/uniquify.el,v [EMACS_22_BASE] |
Date: |
Wed, 27 Feb 2008 16:38:37 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Branch: EMACS_22_BASE
Changes by: Juanma Barranquero <lektu> 08/02/27 16:38:37
Index: uniquify.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/uniquify.el,v
retrieving revision 1.62.2.9
retrieving revision 1.62.2.10
diff -u -b -r1.62.2.9 -r1.62.2.10
--- uniquify.el 27 Feb 2008 16:20:33 -0000 1.62.2.9
+++ uniquify.el 27 Feb 2008 16:38:37 -0000 1.62.2.10
@@ -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))))