From 14d8c7f0c95b4f5b70f374034382f12ce882ab4c Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 9 Aug 2001 15:50:09 +0000 Subject: [PATCH] (desktop-save): Don't use concat to form a file name, use expand-file-name. --- lisp/desktop.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/desktop.el b/lisp/desktop.el index 3286b195fac..bbb5fa864ca 100644 --- a/lisp/desktop.el +++ b/lisp/desktop.el @@ -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 -- 2.39.2