aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1994-09-24 04:05:44 +0000
committerRichard M. Stallman <[email protected]>1994-09-24 04:05:44 +0000
commite3ead21bf450ad1e393234f17503f45e8e488f31 (patch)
tree55e4be101f5b37d9dc9e626e91c4fa7ded017f30
parent7169beb1473e47b1e434901b0983091c8e43a4fe (diff)
(icon-mode): Add autoload cookie.
-rw-r--r--lisp/progmodes/icon.el6
1 files changed, 1 insertions, 5 deletions
diff --git a/lisp/progmodes/icon.el b/lisp/progmodes/icon.el
index f64ed19dd3..c65151c3a2 100644
--- a/lisp/progmodes/icon.el
+++ b/lisp/progmodes/icon.el
@@ -25,11 +25,6 @@
;;; 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))
-;; if not permanently installed in your emacs
;;; Code:
@@ -93,6 +88,7 @@ inserted in Icon code.")
"*Non-nil means TAB in Icon mode should always reindent the current line,
regardless of where in the line point is when the TAB command is used.")
+;;;###autoload
(defun icon-mode ()
"Major mode for editing Icon code.
Expression and list commands understand all Icon brackets.