From dff19ea84de2585a0a5cec98225aa96c602dd6f7 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 28 Feb 2008 17:09:18 +0000 Subject: (uniquify-buffer-base-name): Undo last change. Should be done in desktop.el instead. --- lisp/uniquify.el | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'lisp/uniquify.el') diff --git a/lisp/uniquify.el b/lisp/uniquify.el index c316a47fbf8..fc03ec41c91 100644 --- a/lisp/uniquify.el +++ b/lisp/uniquify.el @@ -72,7 +72,7 @@ ;; Add uniquify-list-buffers-directory-modes ;; Stefan Monnier 17 Nov 2000 ;; Algorithm and data structure changed to reduce consing with lots of buffers -;; Francesco Potortì (ideas by rms and monnier) 2001-07-18 +;; Francesco Potortì (ideas by rms and monnier) 2001-07-18 ;; Valuable feedback was provided by ;; Paul Smith , @@ -194,11 +194,9 @@ 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, -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. -- cgit v1.2.1