diff options
author | Francesco Potortì <pot@gnu.org> | 2001-08-01 19:07:33 +0000 |
---|---|---|
committer | Francesco Potortì <pot@gnu.org> | 2001-08-01 19:07:33 +0000 |
commit | 57749acfbde0b39099ca29632a2875937faf8314 (patch) | |
tree | deab840846f8b5fc2ba77bbbc57e37c1ec311b8c /lisp/emacs-lisp/gulp.el | |
parent | fc10ed8c9d24ebec1ce224aeea951a0130ac35e9 (diff) | |
download | emacs-57749acfbde0b39099ca29632a2875937faf8314.tar.gz emacs-57749acfbde0b39099ca29632a2875937faf8314.tar.bz2 emacs-57749acfbde0b39099ca29632a2875937faf8314.zip |
These changes correct a corner case that the old code managed correctly.
Precisely when you have a buffer visiting a file in the root directory
and then revert it to a file with the same name in a different
directory.
(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.
Diffstat (limited to 'lisp/emacs-lisp/gulp.el')
0 files changed, 0 insertions, 0 deletions