* sun-mouse.el (suspend-emacstool): Run suspend-hook, not
[bpt/emacs.git] / lisp / progmodes / modula2.el
index ebb1ca6..21b7d47 100644 (file)
@@ -2,7 +2,6 @@
 
 ;; Author: Michael Schmidt <michael@pbinfo.UUCP> 
 ;;     Tom Perrine <Perrin@LOGICON.ARPA>
-;; Last-Modified: 30 May 1992 
 ;; Keywords: languages
 
 ;; The authors distributed this without a copyright notice
 ;; Author Mick Jordan
 ;; amended Peter Robinson
 
+;;; Commentary:
+
+;; A major mode for editing Modula-2 code.  It provides convenient abbrevs
+;; for Modula-2 keywords, knows about the standard layout rules, and supports
+;; a native compile command.
+
 ;;; Code:
 
 ;;; Added by Tom Perrine (TEP)
@@ -135,8 +140,8 @@ followed by the first character of the construct.
   (setq comment-column 41)
   (make-local-variable 'comment-start-skip)
   (setq comment-start-skip "/\\*+ *")
-  (make-local-variable 'comment-indent-hook)
-  (setq comment-indent-hook 'c-comment-indent)
+  (make-local-variable 'comment-indent-function)
+  (setq comment-indent-function 'c-comment-indent)
   (make-local-variable 'parse-sexp-ignore-comments)
   (setq parse-sexp-ignore-comments t)
   (run-hooks 'm2-mode-hook))