mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-24 10:38:38 +00:00
(desktop-save): Bind coding-system-for-write to
`emacs-mule' for write-region.
This commit is contained in:
parent
10e922bdd2
commit
7642acca1e
@ -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 ()
|
||||
|
Loading…
Reference in New Issue
Block a user