changeset 9056:504324bc2741

(ada-mode): Add autoload cookie. (auto-mode-alist): Don't alter it here.
author Richard M. Stallman <rms@gnu.org>
date Sat, 24 Sep 1994 04:06:50 +0000
parents 2e089bdec449
children eee647e8ca9e
files lisp/=ada.el
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/=ada.el	Sat Sep 24 04:05:44 1994 +0000
+++ b/lisp/=ada.el	Sat Sep 24 04:06:50 1994 +0000
@@ -29,8 +29,6 @@
 
 ;;; Code:
 
-(setq auto-mode-alist (cons (cons "\\.ada$" 'ada-mode) auto-mode-alist))
-
 (defvar ada-mode-syntax-table nil
   "Syntax table in use in Ada-mode buffers.")
 
@@ -109,6 +107,7 @@
 
 (defvar ada-indent 4 "*Value is the number of columns to indent in Ada-Mode.")
   
+;;;###autoload
 (defun ada-mode ()
 "This is a mode intended to support program development in Ada.
 Most control constructs and declarations of Ada can be inserted in the buffer