]> code.delx.au - gnu-emacs/commit
Code cleanup, speed and consing improvements for uniquify.el.
authorFrancesco Potortì <pot@gnu.org>
Thu, 2 Aug 2001 11:30:25 +0000 (11:30 +0000)
committerFrancesco Potortì <pot@gnu.org>
Thu, 2 Aug 2001 11:30:25 +0000 (11:30 +0000)
commit4126f5b78b317592493a957a12c7ebbbde1bc5e9
treec9945157b911e5ee267476c49bb30aeb425d199c
parent4a7641d9d526d21c7341937ca645b27fd66ac64a
Code cleanup, speed and consing improvements for uniquify.el.
(uniquify-ref-base, uniquify-ref-filename)
(uniquify-ref-buffer, uniquify-ref-proposed): New functions.
(uniquify-fix-item-base, uniquify-fix-item-filename)
(uniquify-fix-item-buffer, uniquify-fix-item-proposed): Deleted.
Callers changed.
(uniquify-set-proposed): Changed to work with a vector item.
(uniquify-rationalize-file-buffer-names): Use a list of arrays for
the fix list, and a list of strings for the non-file buffer
names.  Both changes reduce consing.
(uniquify-rationalize-a-list): Local variable renaming.
(uniquify-rationalize-conflicting-sublist): Use member instead of
assoc.
(uniquify-rename-buffer): Use unless instead of if not.
lisp/uniquify.el