diff options
| author | Stefan Monnier | 2008-04-29 07:11:36 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-04-29 07:11:36 +0000 |
| commit | 3e9db557b8e323d51b8d3080c9d2b04ab93f7af3 (patch) | |
| tree | 081e82ae38bc9934ddd6636c3f66c2581ac8122e | |
| parent | dc9b613eef59753d89c901b8233d0e41885f21fe (diff) | |
| download | emacs-3e9db557b8e323d51b8d3080c9d2b04ab93f7af3.tar.gz emacs-3e9db557b8e323d51b8d3080c9d2b04ab93f7af3.zip | |
(uniquify-rationalize-a-list): Beware of side-effects.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/uniquify.el | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2374dbc783d..9679a52dcb1 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * uniquify.el (uniquify-rationalize-a-list): Beware of side-effects. | ||
| 4 | |||
| 1 | 2008-04-29 Daiki Ueno <ueno@unixuser.org> | 5 | 2008-04-29 Daiki Ueno <ueno@unixuser.org> |
| 2 | 6 | ||
| 3 | * epa.el (epa-key-list-mode-map): Add menu. | 7 | * epa.el (epa-key-list-mode-map): Add menu. |
diff --git a/lisp/uniquify.el b/lisp/uniquify.el index fc03ec41c91..03e54b55ee4 100644 --- a/lisp/uniquify.el +++ b/lisp/uniquify.el | |||
| @@ -329,7 +329,7 @@ in `uniquify-list-buffers-directory-modes', otherwise returns nil." | |||
| 329 | proposed) | 329 | proposed) |
| 330 | ;; Divide fix-list into items with same proposed names and pass them | 330 | ;; Divide fix-list into items with same proposed names and pass them |
| 331 | ;; to uniquify-rationalize-conflicting-sublist. | 331 | ;; to uniquify-rationalize-conflicting-sublist. |
| 332 | (dolist (item (sort fix-list 'uniquify-item-greaterp)) | 332 | (dolist (item (sort (copy-sequence fix-list) 'uniquify-item-greaterp)) |
| 333 | (setq proposed (uniquify-item-proposed item)) | 333 | (setq proposed (uniquify-item-proposed item)) |
| 334 | (unless (equal proposed old-proposed) | 334 | (unless (equal proposed old-proposed) |
| 335 | (uniquify-rationalize-conflicting-sublist conflicting-sublist | 335 | (uniquify-rationalize-conflicting-sublist conflicting-sublist |