aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-06-02 06:05:04 +0000
committerRichard M. Stallman1997-06-02 06:05:04 +0000
commit97b7ec0bbd5dcf93586bab6158892bcb9cc860e1 (patch)
treecf48c9cbb47395c64971c5c48d06a6d0c6277993
parent779b34dfaa85d1f7b224ea2dc026c992c171e9c7 (diff)
downloademacs-97b7ec0bbd5dcf93586bab6158892bcb9cc860e1.tar.gz
emacs-97b7ec0bbd5dcf93586bab6158892bcb9cc860e1.zip
(ada-other-file-alist): Variable definition moved to ada-mode.el.
(ada-search-directories, ada-procedure-start-regexp): Likewise. (ada-package-start-regexp): Likewise.
-rw-r--r--lisp/find-file.el20
1 files changed, 1 insertions, 19 deletions
diff --git a/lisp/find-file.el b/lisp/find-file.el
index c303226ff4e..d6a6d7c4199 100644
--- a/lisp/find-file.el
+++ b/lisp/find-file.el
@@ -239,23 +239,6 @@ since the search algorithm searches sequentially through each directory
239specified in `ff-search-directories'. If a file is not found, a new one 239specified in `ff-search-directories'. If a file is not found, a new one
240is created with the first matching extension (`.cc' yields `.hh').") 240is created with the first matching extension (`.cc' yields `.hh').")
241 241
242(defvar ada-search-directories
243 '("." "/usr/adainclude" "/usr/local/adainclude")
244 "*See the description for the `ff-search-directories' variable.")
245
246(defvar ada-other-file-alist
247 '(
248 ("\\.ads$" (".adb")) ;; Ada specs and bodies
249 ("\\.adb$" (".ads")) ;; GNAT filename conventions
250 )
251 "*Alist of extensions to find given the current file's extension.
252
253This list should contain the most used extensions before the others,
254since the search algorithm searches sequentially through each directory
255specified in `ada-search-directories'. If a file is not found, a new one
256is created with the first matching extension (`.adb' yields `.ads').
257")
258
259(defvar modula2-other-file-alist 242(defvar modula2-other-file-alist
260 '( 243 '(
261 ("\\.mi$" (".md")) ;; Modula-2 module definition 244 ("\\.mi$" (".md")) ;; Modula-2 module definition
@@ -878,8 +861,7 @@ and the name of the file passed in."
878 861
879(defvar ff-function-name nil "Name of the function we are in.") 862(defvar ff-function-name nil "Name of the function we are in.")
880 863
881(defvar ada-procedure-start-regexp) 864(eval-when-compile (require 'ada-mode))
882(defvar ada-package-start-regexp)
883 865
884;; bind with (setq ff-pre-load-hooks 'ff-which-function-are-we-in) 866;; bind with (setq ff-pre-load-hooks 'ff-which-function-are-we-in)
885;; 867;;