Commit 14d8c7f0 authored by Gerd Moellmann's avatar Gerd Moellmann

(desktop-save): Don't use concat to form a file

name, use expand-file-name.
parent 6b48d742
......@@ -475,8 +475,7 @@ MODE is the major mode."
(interactive "DDirectory to save desktop file in: ")
(run-hooks 'desktop-save-hook)
(save-excursion
(let ((filename (expand-file-name
(concat dirname desktop-basefilename)))
(let ((filename (expand-file-name desktop-basefilename dirname))
(info (nreverse
(mapcar
(function
......
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