emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] scratch/gnus-decoded 548c778: Don't add encoding cooki


From: Stefan Monnier
Subject: Re: [Emacs-diffs] scratch/gnus-decoded 548c778: Don't add encoding cookie in Gnus' active files
Date: Wed, 01 May 2019 11:50:17 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>     * lisp/gnus/gnus-util.el (gnus-write-active-file): This doesn't do
>       what I thought it would do.
[...]
> -      (insert (format ";; -*- encoding: %s; -*-\n\n" 
> coding-system-for-write))

Not sure what you expect it to do, but the above cookie indeed likely
doesn't do anything at all.  If you change `encoding` to `coding` then
it should have the effect of telling Emacs which encoding to use when
reading the file.


        Stefan



reply via email to

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