Use fixed coding system for the checksum file

This commit is contained in:
Carsten Dominik 2009-11-12 23:52:41 +01:00
parent afc23be5c0
commit f21a4e7274
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2009-11-12 Carsten Dominik <carsten.dominik@gmail.com> 2009-11-12 Carsten Dominik <carsten.dominik@gmail.com>
* org-mobile.el (org-mobile-write-checksums): Specify coding
system.
* org-latex.el (org-latex-entities-regexp): Fix typo in regexp. * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
* org.el (org-block-todo-from-children-or-siblings-or-parent) * org.el (org-block-todo-from-children-or-siblings-or-parent)

View File

@ -409,6 +409,7 @@ The table of checksums is written to the file mobile-checksums."
(files org-mobile-checksum-files) (files org-mobile-checksum-files)
entry file sum) entry file sum)
(with-temp-file sumfile (with-temp-file sumfile
(set-buffer-file-coding-system 'undecided-unix nil)
(while (setq entry (pop files)) (while (setq entry (pop files))
(setq file (car entry) sum (cdr entry)) (setq file (car entry) sum (cdr entry))
(insert (format "%s %s\n" sum file)))))) (insert (format "%s %s\n" sum file))))))