# HG changeset patch # User Richard M. Stallman # Date 1104505083 0 # Node ID eb98fdac5466763bf530751383b47442488bae48 # Parent 2a058ed870664e9cdd30713911c96cb0e95bc063 (vhdl-mode): Use mode-require-final-newline. diff -r 2a058ed87066 -r eb98fdac5466 lisp/progmodes/vhdl-mode.el --- 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) "--")