summaryrefslogtreecommitdiff
path: root/lisp/desktop.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2009-01-05 02:49:31 +0000
committerJuanma Barranquero <lekktu@gmail.com>2009-01-05 02:49:31 +0000
commita609d13baff387f92e367ec5797e1f56d28fd4f6 (patch)
tree28fd2de04c3aa5692fa919b2cedb21f43422a91f /lisp/desktop.el
parentd92c06c73dc064a3f3fc1f2bd1bb0f3e403946aa (diff)
downloademacs-a609d13baff387f92e367ec5797e1f56d28fd4f6.tar.gz
* desktop.el (desktop-save-in-desktop-dir): Use `abbreviate-file-name'
to shorten the desktop file directory shown in message.
Diffstat (limited to 'lisp/desktop.el')
-rw-r--r--lisp/desktop.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/desktop.el b/lisp/desktop.el
index 1189e150296..443d4ffee64 100644
--- a/lisp/desktop.el
+++ b/lisp/desktop.el
@@ -1047,7 +1047,7 @@ directory DIRNAME."
(if desktop-dirname
(desktop-save desktop-dirname)
(call-interactively 'desktop-save))
- (message "Desktop saved in %s" desktop-dirname))
+ (message "Desktop saved in %s" (abbreviate-file-name desktop-dirname)))
;; ----------------------------------------------------------------------------
;;;###autoload