summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-09-24 04:06:50 +0000
committerRichard M. Stallman <rms@gnu.org>1994-09-24 04:06:50 +0000
commit585672c2b518b404ecff6d8fa206838b948a686b (patch)
tree6c9a67d278e931f7e80c65f8d15cd6ac93e31e5f /lisp
parente3ead21bf450ad1e393234f17503f45e8e488f31 (diff)
downloademacs-585672c2b518b404ecff6d8fa206838b948a686b.tar.gz
(ada-mode): Add autoload cookie.
(auto-mode-alist): Don't alter it here.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ada.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/ada.el b/lisp/ada.el
index 8ee750fc6c0..5e8458501cc 100644
--- a/lisp/ada.el
+++ b/lisp/ada.el
@@ -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