Commit 04f3a656 authored by Karl Heuer's avatar Karl Heuer
Browse files

(uniquify-rationalize-file-buffer-names): If

newbuffile is nil, don't call expand-file-name on it.
parent 7ac098ff
......@@ -147,7 +147,8 @@ pathname elements. Arguments cause only a subset of buffers to be renamed."
(while buffers
(let* ((buffer (car buffers))
(bfn (if (eq buffer newbuf)
(expand-file-name newbuffile)
(and newbuffile
(expand-file-name newbuffile))
(uniquify-buffer-file-name buffer)))
(rawname (and bfn (file-name-nondirectory bfn)))
(deserving (and rawname
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment