diff options
author | Gerd Moellmann <gerd@gnu.org> | 2001-07-31 14:04:50 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2001-07-31 14:04:50 +0000 |
commit | 7642acca1e2fdbca53a065065d9d28c7c8de40d0 (patch) | |
tree | 2ddcecdf0000633cb4adfe805a797fbb391d793f /lisp/desktop.el | |
parent | 10e922bdd215aeb206ddbba8d9a625640baaedb0 (diff) | |
download | emacs-7642acca1e2fdbca53a065065d9d28c7c8de40d0.tar.gz |
(desktop-save): Bind coding-system-for-write to
`emacs-mule' for write-region.
Diffstat (limited to 'lisp/desktop.el')
-rw-r--r-- | lisp/desktop.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/desktop.el b/lisp/desktop.el index 54a598d51c0..3286b195fac 100644 --- a/lisp/desktop.el +++ b/lisp/desktop.el @@ -549,7 +549,8 @@ MODE is the major mode." info) (setq default-directory dirname) (if (file-exists-p filename) (delete-file filename)) - (write-region (point-min) (point-max) filename nil 'nomessage))) + (let ((coding-system-for-write 'emacs-mule)) + (write-region (point-min) (point-max) filename nil 'nomessage)))) (setq desktop-dirname dirname)) ;; ---------------------------------------------------------------------------- (defun desktop-remove () |