summaryrefslogtreecommitdiff
path: root/lisp/=ada.el
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
commit50eecde123d8dcacccdbbc57a2629073b717ca98 (patch)
treef7d3a0fcde5cd4b059dc8bdd67d3c8f31327bae5 /lisp/=ada.el
parent72026df861f00b1d0816198fe2fad1fc884a7fd7 (diff)
downloademacs-50eecde123d8dcacccdbbc57a2629073b717ca98.tar.gz
(ada-mode): Add autoload cookie.
(auto-mode-alist): Don't alter it here.
Diffstat (limited to 'lisp/=ada.el')
-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