# HG changeset patch # User Richard M. Stallman # Date 780379544 0 # Node ID 2e089bdec4491e8a583864772ccc2faf210d2401 # Parent ddb22c22a80dcbde92bb5280063a68958b17c9fd (icon-mode): Add autoload cookie. diff -r ddb22c22a80d -r 2e089bdec449 lisp/progmodes/icon.el --- 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.