From: Gerd Moellmann Date: Thu, 9 Aug 2001 15:50:09 +0000 (+0000) Subject: (desktop-save): Don't use concat to form a file X-Git-Tag: emacs-pretest-21.0.105~227 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=14d8c7f0c95b4f5b70f374034382f12ce882ab4c;p=emacs.git (desktop-save): Don't use concat to form a file name, use expand-file-name. --- 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