[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: saveplace: don't ask for coding system
From: |
Juanma Barranquero |
Subject: |
Re: saveplace: don't ask for coding system |
Date: |
Thu, 29 Nov 2007 10:05:43 +0100 |
On Nov 28, 2007 3:46 PM, David Reitter <address@hidden> wrote:
> --- 224,235 ----
> t))))
> (condition-case nil
> ;; Don't use write-file; we don't want this buffer to visit it.
> ! (let ((coding-system-for-write 'utf-8))
> ! (write-region (point-min) (point-max) file))
> ! (file-error (message "Saving places: Can't write %s" file)))
> (kill-buffer (current-buffer))
> ! ;;(message "Saving places to %s...done" file)
> ! ))))
>
I think you should also add a "-*- coding: XXX -*-" line to the file.
Juanma