From 83a5a8a9ebb33b857aae9b036174063712a2a86c Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Fri, 23 Feb 2018 16:30:06 +0100 Subject: emacs: do not add the magic encoding comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It brings quite some annoying false positives. Signed-off-by: Miquel Sabaté Solà --- emacs/init.org | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'emacs') diff --git a/emacs/init.org b/emacs/init.org index b6aaf74..704e84d 100644 --- a/emacs/init.org +++ b/emacs/init.org @@ -1827,6 +1827,12 @@ Include warning keywords in Ruby. (add-hook 'ruby-mode-hook 'warnings-mode-hook) #+END_SRC +Do not automatically include the encoding magic comment: + +#+BEGIN_SRC elisp +(setq ruby-insert-encoding-magic-comment nil) +#+END_SRC + ** Go And now my Go configuration. This includes stuff like the usage of =goimports=, -- cgit v1.2.3