emacs-diffs
[Top][All Lists]
Advanced

[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: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/lisp/uniquify.el,v [EMACS_22_BASE]
Date: Thu, 28 Feb 2008 19:47:01 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     Stefan Monnier <monnier>        08/02/28 19:46:59

Index: uniquify.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/uniquify.el,v
retrieving revision 1.62.2.10
retrieving revision 1.62.2.11
diff -u -b -r1.62.2.10 -r1.62.2.11
--- uniquify.el 27 Feb 2008 16:38:37 -0000      1.62.2.10
+++ uniquify.el 28 Feb 2008 19:46:59 -0000      1.62.2.11
@@ -72,7 +72,7 @@
 ;; Add uniquify-list-buffers-directory-modes
 ;;   Stefan Monnier <address@hidden> 17 Nov 2000
 ;; Algorithm and data structure changed to reduce consing with lots of buffers
-;;   Francesco Potortì <address@hidden> (ideas by rms and monnier) 2001-07-18
+;;   Francesco Potortì <address@hidden> (ideas by rms and monnier) 2001-07-18
 
 ;; Valuable feedback was provided by
 ;; Paul Smith <address@hidden>,
@@ -192,11 +192,9 @@
 ;; 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.
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]