[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cant stop emacs automatically adding # -*- coding: utf-8 -* when sav
From: |
diegofmonaco |
Subject: |
Re: cant stop emacs automatically adding # -*- coding: utf-8 -* when saving files |
Date: |
Fri, 23 Oct 2009 08:39:47 -0700 (PDT) |
Peter Dyballa wrote:
>
>
> Am 23.10.2009 um 07:11 schrieb diegofmonaco:
>
>> The problem its only with some files but I dont know why!
>
> Check the mode of the files.
>
>
I've found the solution!!, the problem was only with some ruby files so I
have found the function in ruby-mode who was doing this "magic comment", the
variable for deactivate this is:
(setq ruby-insert-encoding-magic-comment nil)
thanks peter for yout help
--
View this message in context:
http://www.nabble.com/cant-stop-emacs-automatically-adding----*--coding%3A-utf-8--*-when-saving-files-tp26021004p26028672.html
Sent from the Emacs - Help mailing list archive at Nabble.com.