changeset 59245:11d2d878c92f

(icon-mode): Use mode-require-final-newline.
author Richard M. Stallman <rms@gnu.org>
date Fri, 31 Dec 2004 14:53:55 +0000
parents 9d627ac86f8b
children 3689cf45d8b0
files lisp/progmodes/icon.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/icon.el	Fri Dec 31 14:53:40 2004 +0000
+++ b/lisp/progmodes/icon.el	Fri Dec 31 14:53:55 2004 +0000
@@ -177,7 +177,7 @@
   (make-local-variable 'indent-line-function)
   (setq indent-line-function 'icon-indent-line)
   (make-local-variable 'require-final-newline)
-  (setq require-final-newline t)
+  (setq require-final-newline mode-require-final-newline)
   (make-local-variable 'comment-start)
   (setq comment-start "# ")
   (make-local-variable 'comment-end)