Use the original buffer-name as `base' in place of the
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 9 May 2003 13:21:05 +0000 (13:21 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 9 May 2003 13:21:05 +0000 (13:21 +0000)
commit75e2fcb63a6fcea329ad2e701d171a0d33235ef1
treedeafee39118401b6e8016e29a2aedd4e760b6ecc
parent9b60c729b415a16414fc13afb290d66f11817683
Use the original buffer-name as `base' in place of the
nondirectory part of the file name.
(uniquify-rationalize-file-buffer-names):
Split the `newbuffile' arg into `base' and `dirname'.
Reuse old uniquify-items to avoid recomputing their base&dirname.
(uniquify-buffer-file-name): Only return the directory part.
(uniquify-rerationalize-w/o-cb): Don't bother reseting proposed names.
(rename-buffer): Use the `newname' arg as base.
(create-file-buffer): Split the file name into base and dirname.
lisp/ChangeLog
lisp/uniquify.el