(idlwave-mode): Use mode-require-final-newline.
[bpt/emacs.git] / lisp / progmodes / idlwave.el
index a17ba3e..6aa9fde 100644 (file)
@@ -1892,7 +1892,7 @@ The main features of this mode are
   
   (set (make-local-variable 'comment-start-skip) ";+[ \t]*")
   (set (make-local-variable 'comment-start) ";")
-  (set (make-local-variable 'require-final-newline) t)
+  (set (make-local-variable 'require-final-newline) mode-require-final-newline)
   (set (make-local-variable 'abbrev-all-caps) t)
   (set (make-local-variable 'indent-tabs-mode) nil)
   (set (make-local-variable 'completion-ignore-case) t)