diff options
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/uniquify.el | 8 |
2 files changed, 8 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a3c63fba027..dba3d58d9a7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-02-28 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * uniquify.el (uniquify-buffer-base-name): Undo last change. Should be | ||
| 4 | done in desktop.el instead. | ||
| 5 | |||
| 1 | 2008-02-28 Glenn Morris <rgm@gnu.org> | 6 | 2008-02-28 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * autoinsert.el (auto-insert-alist): Update to FDL 1.2. | 8 | * autoinsert.el (auto-insert-alist): Update to FDL 1.2. |
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 @@ | |||
| 72 | ;; Add uniquify-list-buffers-directory-modes | 72 | ;; Add uniquify-list-buffers-directory-modes |
| 73 | ;; Stefan Monnier <monnier@cs.yale.edu> 17 Nov 2000 | 73 | ;; Stefan Monnier <monnier@cs.yale.edu> 17 Nov 2000 |
| 74 | ;; Algorithm and data structure changed to reduce consing with lots of buffers | 74 | ;; Algorithm and data structure changed to reduce consing with lots of buffers |
| 75 | ;; Francesco Potortì <pot@gnu.org> (ideas by rms and monnier) 2001-07-18 | 75 | ;; Francesco Potortì <pot@gnu.org> (ideas by rms and monnier) 2001-07-18 |
| 76 | 76 | ||
| 77 | ;; Valuable feedback was provided by | 77 | ;; Valuable feedback was provided by |
| 78 | ;; Paul Smith <psmith@baynetworks.com>, | 78 | ;; Paul Smith <psmith@baynetworks.com>, |
| @@ -194,11 +194,9 @@ It actually holds the list of `uniquify-item's corresponding to the conflict.") | |||
| 194 | ;; Used in desktop.el to save the non-uniquified buffer name | 194 | ;; Used in desktop.el to save the non-uniquified buffer name |
| 195 | (defun uniquify-buffer-base-name () | 195 | (defun uniquify-buffer-base-name () |
| 196 | "Return the base name of the current buffer. | 196 | "Return the base name of the current buffer. |
| 197 | Return nil if the buffer is not managed by uniquify, | 197 | Return nil if the buffer is not managed by uniquify." |
| 198 | or if the base name is empty." | ||
| 199 | (and uniquify-managed | 198 | (and uniquify-managed |
| 200 | (let ((base (uniquify-item-base (car uniquify-managed)))) | 199 | (uniquify-item-base (car uniquify-managed)))) |
| 201 | (if (string= base "") nil base)))) | ||
| 202 | 200 | ||
| 203 | ;;; Main entry point. | 201 | ;;; Main entry point. |
| 204 | 202 | ||