From: Richard M. Stallman Date: Sat, 24 Sep 1994 04:05:44 +0000 (+0000) Subject: (icon-mode): Add autoload cookie. X-Git-Tag: emacs-19.34~6799 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e3ead21bf450ad1e393234f17503f45e8e488f31;p=emacs.git (icon-mode): Add autoload cookie. --- diff --git a/lisp/progmodes/icon.el b/lisp/progmodes/icon.el index f64ed19dd37..c65151c3a20 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.