changeset 9055:2e089bdec449

(icon-mode): Add autoload cookie.
author Richard M. Stallman <rms@gnu.org>
date Sat, 24 Sep 1994 04:05:44 +0000
parents ddb22c22a80d
children 504324bc2741
files lisp/progmodes/icon.el
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/icon.el	Sat Sep 24 03:47:07 1994 +0000
+++ b/lisp/progmodes/icon.el	Sat Sep 24 04:05:44 1994 +0000
@@ -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 @@
   "*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.