]> git.eshelyaron.com Git - emacs.git/commitdiff
(vhdl-mode): Use mode-require-final-newline.
authorRichard M. Stallman <rms@gnu.org>
Fri, 31 Dec 2004 14:58:03 +0000 (14:58 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 31 Dec 2004 14:58:03 +0000 (14:58 +0000)
lisp/progmodes/vhdl-mode.el

index cb2a3e2dfcc9eff7d315a493e4aa11afc961e677..ab7fa42e252edbbfbb1e77b14d2683afd3f7d825 100644 (file)
@@ -4557,7 +4557,8 @@ Key bindings:
        "\\s-*\\(--+\\s-*$\\|[^ -]\\|$\\)")
   (set (make-local-variable 'paragraph-separate) paragraph-start)
   (set (make-local-variable 'paragraph-ignore-fill-prefix) t)
-  (set (make-local-variable 'require-final-newline) t)
+  (set (make-local-variable 'require-final-newline)
+       mode-require-final-newline)
   (set (make-local-variable 'parse-sexp-ignore-comments) t)
   (set (make-local-variable 'indent-line-function) 'vhdl-indent-line)
   (set (make-local-variable 'comment-start) "--")