changeset 59253:eb98fdac5466

(vhdl-mode): Use mode-require-final-newline.
author Richard M. Stallman <rms@gnu.org>
date Fri, 31 Dec 2004 14:58:03 +0000
parents 2a058ed87066
children 0b36787d3411
files lisp/progmodes/vhdl-mode.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/vhdl-mode.el	Fri Dec 31 14:57:45 2004 +0000
+++ b/lisp/progmodes/vhdl-mode.el	Fri Dec 31 14:58:03 2004 +0000
@@ -4557,7 +4557,8 @@
        "\\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) "--")