diff options
| author | Richard M. Stallman | 1994-09-24 04:06:50 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-09-24 04:06:50 +0000 |
| commit | 585672c2b518b404ecff6d8fa206838b948a686b (patch) | |
| tree | 6c9a67d278e931f7e80c65f8d15cd6ac93e31e5f | |
| parent | e3ead21bf450ad1e393234f17503f45e8e488f31 (diff) | |
| download | emacs-585672c2b518b404ecff6d8fa206838b948a686b.tar.gz emacs-585672c2b518b404ecff6d8fa206838b948a686b.zip | |
(ada-mode): Add autoload cookie.
(auto-mode-alist): Don't alter it here.
| -rw-r--r-- | lisp/ada.el | 3 |
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 @@ | |||
| 29 | 29 | ||
| 30 | ;;; Code: | 30 | ;;; Code: |
| 31 | 31 | ||
| 32 | (setq auto-mode-alist (cons (cons "\\.ada$" 'ada-mode) auto-mode-alist)) | ||
| 33 | |||
| 34 | (defvar ada-mode-syntax-table nil | 32 | (defvar ada-mode-syntax-table nil |
| 35 | "Syntax table in use in Ada-mode buffers.") | 33 | "Syntax table in use in Ada-mode buffers.") |
| 36 | 34 | ||
| @@ -109,6 +107,7 @@ | |||
| 109 | 107 | ||
| 110 | (defvar ada-indent 4 "*Value is the number of columns to indent in Ada-Mode.") | 108 | (defvar ada-indent 4 "*Value is the number of columns to indent in Ada-Mode.") |
| 111 | 109 | ||
| 110 | ;;;###autoload | ||
| 112 | (defun ada-mode () | 111 | (defun ada-mode () |
| 113 | "This is a mode intended to support program development in Ada. | 112 | "This is a mode intended to support program development in Ada. |
| 114 | Most control constructs and declarations of Ada can be inserted in the buffer | 113 | Most control constructs and declarations of Ada can be inserted in the buffer |