aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/emacs
diff options
context:
space:
mode:
authorTuncer Ayaz <[email protected]>2016-07-15 14:06:23 +0200
committerTuncer Ayaz <[email protected]>2016-07-15 14:19:58 +0200
commitdfaf9df6a1d6cda0a38943f133a32dd4bcffba32 (patch)
tree8229e8f57aab269ba521679d8223d223e625093c /lib/tools/emacs
parentddfae156c2b21d5266bd6eb82bf9ca7c508226fd (diff)
downloadotp-dfaf9df6a1d6cda0a38943f133a32dd4bcffba32.tar.gz
otp-dfaf9df6a1d6cda0a38943f133a32dd4bcffba32.tar.bz2
otp-dfaf9df6a1d6cda0a38943f133a32dd4bcffba32.zip
erlang-mode: do not configure require-final-newline
Erlang source files do not require a final newline. Thus, require-final-newline is a personal setting and should not be configured in the major mode. Setting it here will also negatively impact helpers like ethan-wspace.
Diffstat (limited to 'lib/tools/emacs')
-rw-r--r--lib/tools/emacs/erlang.el2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/tools/emacs/erlang.el b/lib/tools/emacs/erlang.el
index a2062180f3..9adc4f1ec8 100644
--- a/lib/tools/emacs/erlang.el
+++ b/lib/tools/emacs/erlang.el
@@ -1514,8 +1514,6 @@ Other commands:
(setq paragraph-separate paragraph-start)
(make-local-variable 'paragraph-ignore-fill-prefix)
(setq paragraph-ignore-fill-prefix t)
- (make-local-variable 'require-final-newline)
- (setq require-final-newline t)
(make-local-variable 'defun-prompt-regexp)
(setq defun-prompt-regexp erlang-defun-prompt-regexp)
(make-local-variable 'comment-start)