aboutsummaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2018-02-23 16:30:06 +0100
committerMiquel Sabaté Solà <msabate@suse.com>2018-02-23 16:30:06 +0100
commit83a5a8a9ebb33b857aae9b036174063712a2a86c (patch)
tree9c2e647863a640ca528777b1f80a4aafdc508011 /emacs
parent471e0aa7b05d227226c4a434155ae6efcac1a1b9 (diff)
downloaddotfiles-83a5a8a9ebb33b857aae9b036174063712a2a86c.tar.gz
dotfiles-83a5a8a9ebb33b857aae9b036174063712a2a86c.zip
emacs: do not add the magic encoding comment
It brings quite some annoying false positives. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.org6
1 files changed, 6 insertions, 0 deletions
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=,