diff options
author | Eric S. Raymond <esr@snark.thyrsus.com> | 1993-03-22 03:27:18 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@snark.thyrsus.com> | 1993-03-22 03:27:18 +0000 |
commit | d91e903d4a73ad06e5773a8bfc4902f1b10181ca (patch) | |
tree | 8405bafb611b83237c9661723511ec3ee40937ad /lisp/progmodes/icon.el | |
parent | 6c59ed5680001a63b13f3a3f1a2eac0cc254f760 (diff) | |
download | emacs-d91e903d4a73ad06e5773a8bfc4902f1b10181ca.tar.gz |
Added or corrected Commentary sections
Diffstat (limited to 'lisp/progmodes/icon.el')
-rw-r--r-- | lisp/progmodes/icon.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/progmodes/icon.el b/lisp/progmodes/icon.el index 2a2f5a9dcd4..f64ed19dd37 100644 --- a/lisp/progmodes/icon.el +++ b/lisp/progmodes/icon.el @@ -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 @@ with no args, if that value is non-nil." (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 |