diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-06-02 06:05:04 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-06-02 06:05:04 +0000 |
commit | 11f44b8a9cd5c203b6bd2a1ed6bee72543be8820 (patch) | |
tree | 03bc9d86a235fd2e65e3f3517e2dc0d934f05635 /lisp/find-file.el | |
parent | cd328322788b6d5fc87068932c9b8b8e77c3b480 (diff) | |
download | emacs-11f44b8a9cd5c203b6bd2a1ed6bee72543be8820.tar.gz |
(ada-other-file-alist): Variable definition moved to ada-mode.el.
(ada-search-directories, ada-procedure-start-regexp): Likewise.
(ada-package-start-regexp): Likewise.
Diffstat (limited to 'lisp/find-file.el')
-rw-r--r-- | lisp/find-file.el | 20 |
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 specified in `ff-search-directories'. If a file is not found, a new one is created with the first matching extension (`.cc' yields `.hh').") -(defvar ada-search-directories - '("." "/usr/adainclude" "/usr/local/adainclude") - "*See the description for the `ff-search-directories' variable.") - -(defvar ada-other-file-alist - '( - ("\\.ads$" (".adb")) ;; Ada specs and bodies - ("\\.adb$" (".ads")) ;; GNAT filename conventions - ) - "*Alist of extensions to find given the current file's extension. - -This list should contain the most used extensions before the others, -since the search algorithm searches sequentially through each directory -specified in `ada-search-directories'. If a file is not found, a new one -is created with the first matching extension (`.adb' yields `.ads'). -") - (defvar modula2-other-file-alist '( ("\\.mi$" (".md")) ;; Modula-2 module definition @@ -878,8 +861,7 @@ and the name of the file passed in." (defvar ff-function-name nil "Name of the function we are in.") -(defvar ada-procedure-start-regexp) -(defvar ada-package-start-regexp) +(eval-when-compile (require 'ada-mode)) ;; bind with (setq ff-pre-load-hooks 'ff-which-function-are-we-in) ;; |