summaryrefslogtreecommitdiff
path: root/lisp/desktop.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/desktop.el')
-rw-r--r--lisp/desktop.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/desktop.el b/lisp/desktop.el
index a5a898e2cd5..41884f787d5 100644
--- a/lisp/desktop.el
+++ b/lisp/desktop.el
@@ -630,7 +630,7 @@ DIRNAME must be the directory in which the desktop file will be saved."
(erase-buffer)
(insert
- ";; -*- coding: emacs-mule; -*-\n"
+ ";; -*- coding: utf-8-emacs; -*-\n"
desktop-header
";; Created " (current-time-string) "\n"
";; Desktop file format version " desktop-file-version "\n"
@@ -659,7 +659,7 @@ DIRNAME must be the directory in which the desktop file will be saved."
info)
(setq default-directory dirname)
(when (file-exists-p filename) (delete-file filename))
- (let ((coding-system-for-write 'emacs-mule))
+ (let ((coding-system-for-write 'utf-8-emacs))
(write-region (point-min) (point-max) filename nil 'nomessage))))
(setq desktop-dirname dirname))