diff options
| author | Stefan Monnier | 2008-02-28 19:46:59 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-02-28 19:46:59 +0000 |
| commit | 42b4ee207b146590df193db03be6487a26098797 (patch) | |
| tree | 31cf5bce5413c29ad1c38e8f04062029c54a6f58 | |
| parent | 13dbab28a0b0b010272b8597150701a3db454ff9 (diff) | |
| download | emacs-42b4ee207b146590df193db03be6487a26098797.tar.gz emacs-42b4ee207b146590df193db03be6487a26098797.zip | |
(uniquify-buffer-base-name): Undo last change.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/uniquify.el | 8 |
2 files changed, 7 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bbeb08782ba..f39d6a0d807 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-02-28 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * uniquify.el (uniquify-buffer-base-name): Undo last change. | ||
| 4 | |||
| 1 | 2008-02-28 Daiki Ueno <ueno@unixuser.org> | 5 | 2008-02-28 Daiki Ueno <ueno@unixuser.org> |
| 2 | 6 | ||
| 3 | * international/utf-7.el (utf-7-encode): Never skip the trailing - for | 7 | * international/utf-7.el (utf-7-encode): Never skip the trailing - for |
diff --git a/lisp/uniquify.el b/lisp/uniquify.el index 4d4f755aa6a..07772bd6cda 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>, |
| @@ -192,11 +192,9 @@ It actually holds the list of `uniquify-item's corresponding to the conflict.") | |||
| 192 | ;; Used in desktop.el to save the non-uniquified buffer name | 192 | ;; Used in desktop.el to save the non-uniquified buffer name |
| 193 | (defun uniquify-buffer-base-name () | 193 | (defun uniquify-buffer-base-name () |
| 194 | "Return the base name of the current buffer. | 194 | "Return the base name of the current buffer. |
| 195 | Return nil if the buffer is not managed by uniquify, | 195 | Return nil if the buffer is not managed by uniquify." |
| 196 | or if the base name is empty." | ||
| 197 | (and uniquify-managed | 196 | (and uniquify-managed |
| 198 | (let ((base (uniquify-item-base (car uniquify-managed)))) | 197 | (uniquify-item-base (car uniquify-managed)))) |
| 199 | (if (string= base "") nil base)))) | ||
| 200 | 198 | ||
| 201 | ;;; Main entry point. | 199 | ;;; Main entry point. |
| 202 | 200 | ||