Mercurial > emacs
changeset 38765:7f07f5bca733
(desktop-save): Don't use concat to form a file
name, use expand-file-name.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 09 Aug 2001 15:50:09 +0000 |
parents | 78835d2a314e |
children | ee92689ae199 |
files | lisp/desktop.el |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/desktop.el Thu Aug 09 14:57:30 2001 +0000 +++ b/lisp/desktop.el Thu Aug 09 15:50:09 2001 +0000 @@ -475,8 +475,7 @@ (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