diff lisp/progmodes/icon.el @ 2307:10e417efb12a

Added or corrected Commentary sections
author Eric S. Raymond <esr@snark.thyrsus.com>
date Mon, 22 Mar 1993 03:27:18 +0000
parents 213978acbc1e
children 2e089bdec449
line wrap: on
line diff
--- a/lisp/progmodes/icon.el	Mon Mar 22 03:00:23 1993 +0000
+++ b/lisp/progmodes/icon.el	Mon Mar 22 03:27:18 1993 +0000
@@ -24,6 +24,8 @@
 
 ;;; Commentary:
 
+;; A major mode for editing the Icon programming language.
+;;
 ;; Note: use
 ;;  (autoload 'icon-mode "icon" nil t)
 ;;  (setq auto-mode-alist (cons '("\\.icn$" . icon-mode) auto-mode-alist))
@@ -146,8 +148,8 @@
   (setq comment-column 32)
   (make-local-variable 'comment-start-skip)
   (setq comment-start-skip "# *")
-  (make-local-variable 'comment-indent-hook)
-  (setq comment-indent-hook 'icon-comment-indent)
+  (make-local-variable 'comment-indent-function)
+  (setq comment-indent-function 'icon-comment-indent)
   (run-hooks 'icon-mode-hook))
 
 ;; This is used by indent-for-comment to decide how much to