1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 16:51:06 -07:00

uniquify.el

This commit is contained in:
Francesco Potortì 2001-08-01 19:05:32 +00:00
parent 55bb62fd4f
commit fc10ed8c9d

View file

@ -12,11 +12,21 @@
2001-08-01 Francesco Potorti` <pot@gnu.org>
* uniquify.el (uniquify-rationalize-file-buffer-names): Add an
explicit test for " **lose**" buffers generated by
find-alternate-file to avoid an error in particular conditions.
(uniquify-rationalize-file-buffer-names): Reshuffled the code for
clarity and speed (?).
* uniquify.el: These changes correct a corner case that the old
code managed correctly.
(uniquify-fix-item-proposed): Renamed from
uniquify-fix-item-min-proposed.
(uniquify-set-proposed): New function.
(uniquify-rationalize-file-buffer-names): Code reshuffled for
clarity and speed.
(uniquify-item-greaterp): Substitutes uniquify-item-lessp. This
is equivalent to what the old code did.
(uniquify-rationalize-a-list): Never recompute the proposed
name. Sort the conflicting sublist before rationalising it: this
is equivalent to what the old code did, but one directory element
at a time, and only when necessary.
(uniquify-rationalize-conflicting-sublist): Recompute here the
proposed name.
2001-08-01 Gerd Moellmann <gerd@gnu.org>