diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2016-07-15 14:02:05 +0200 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2016-07-15 14:20:30 +0200 |
commit | 021c8f7e0a1776566ec5d3d059136ba03f9ac3db (patch) | |
tree | 7a412f7a9e20a1303bc431ef26fbf57f7c22c7a2 /src | |
parent | 10f0c953a1de12f375d694a0ee0816f7dffa4483 (diff) |
urweb-mode: do not configure require-final-newline
Ur/Web 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 'src')
-rw-r--r-- | src/elisp/urweb-mode.el | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/elisp/urweb-mode.el b/src/elisp/urweb-mode.el index bc71a052..d1eec2a1 100644 --- a/src/elisp/urweb-mode.el +++ b/src/elisp/urweb-mode.el @@ -395,7 +395,6 @@ This mode runs `urweb-mode-hook' just before exiting. ;; Treat paragraph-separators in comments as paragraph-separators. (set (make-local-variable 'paragraph-separate) (concat "\\([ \t]*\\*)?\\)?\\(" paragraph-separate "\\)")) - (set (make-local-variable 'require-final-newline) t) ;; forward-sexp-function is an experimental variable in my hacked Emacs. (set (make-local-variable 'forward-sexp-function) 'urweb-user-forward-sexp) ;; For XEmacs |