summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Tuncer Ayaz <tuncer.ayaz@gmail.com>2016-07-15 14:02:05 +0200
committerGravatar Tuncer Ayaz <tuncer.ayaz@gmail.com>2016-07-15 14:20:30 +0200
commit021c8f7e0a1776566ec5d3d059136ba03f9ac3db (patch)
tree7a412f7a9e20a1303bc431ef26fbf57f7c22c7a2
parent10f0c953a1de12f375d694a0ee0816f7dffa4483 (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.
-rw-r--r--src/elisp/urweb-mode.el1
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