emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs refuses to save file in the same encoding it was read


From: Juri Linkov
Subject: Re: emacs refuses to save file in the same encoding it was read
Date: 22 Oct 2003 12:14:37 +0300
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Sam Steingold <address@hidden> writes:
> when I answer affirmatively, the file is saved, but a line
> ;; -*- coding: iso-2022-7bit; -*-
> is added in front of my cookie.
> 
> what is going on?

This line is added by the function `bbdb-write-file-hook-fn'.
Up to now it was added to `local-write-file-hooks' locally only in
the bbdb buffer.  But now the value of `local-write-file-hooks'
is set by the function `add-hook' globally, so this hook adds
this line in the beginning of every saved buffer.

-- 
http://www.jurta.org/emacs/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]