]> git.eshelyaron.com Git - emacs.git/commitdiff
Finish installing previous change.
authorRichard M. Stallman <rms@gnu.org>
Mon, 2 Jun 1997 19:58:49 +0000 (19:58 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 2 Jun 1997 19:58:49 +0000 (19:58 +0000)
lisp/progmodes/ada-mode.el

index 99b4f8659c22a219d92ed41fedc73a97db93ab43..32a373a6f36eabe21197a8678541d972e54394f5 100644 (file)
@@ -605,7 +605,16 @@ If you use ada-xref.el:
             nil t
             ((?\_ . "w")(?\. . "w"))
             beginning-of-line
-            (font-lock-syntactic-keywords . ada-font-lock-syntactic-keywords))))
+            (font-lock-syntactic-keywords . ada-font-lock-syntactic-keywords)))
+
+    ;; Set up support for find-file.el.
+    (make-variable-buffer-local 'ff-other-file-alist)
+    (make-variable-buffer-local 'ff-search-directories)
+    (setq ff-other-file-alist   'ada-other-file-alist
+          ff-search-directories 'ada-search-directories
+          ff-pre-load-hooks     'ff-which-function-are-we-in
+          ff-post-load-hooks    'ff-set-point-accordingly
+          ff-file-created-hooks 'ada-make-body))
 
   (setq major-mode 'ada-mode)
   (setq mode-name "Ada")