[Top][All Lists]
[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: |
Stefan Monnier |
Subject: |
Re: emacs refuses to save file in the same encoding it was read |
Date: |
23 Oct 2003 15:15:40 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
> 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.
> it looks like my change in add-hook is not right for
> variables that become local when set.
> dies ths chg work in general?
I think the code is already pretty messy, so I'd rather avoid adding
yet-another-test. Could you explain the reason for the recent change
that introduced the new problem? Maybe we can fix it in some other way?
Stefan