]> git.eshelyaron.com Git - emacs.git/commitdiff
(ada-mode): Add autoload cookie.
authorRichard M. Stallman <rms@gnu.org>
Sat, 24 Sep 1994 04:06:50 +0000 (04:06 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 24 Sep 1994 04:06:50 +0000 (04:06 +0000)
(auto-mode-alist): Don't alter it here.

lisp/ada.el

index 8ee750fc6c0a6aedd7a8f893aedb0c2bc31dec64..5e8458501cc3f59078d8471ed28c5bcd83721d02 100644 (file)
@@ -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.")
 
 
 (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