aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2003-05-19 14:46:49 +0000
committerRichard M. Stallman2003-05-19 14:46:49 +0000
commitfbf2dd6136e97f2d933753689609568c46ef005f (patch)
tree36db80aebb5930f40c94b56f82504091669c22cd
parent1db354061f247b1afe9a3bb12c228be5f5a9004b (diff)
downloademacs-fbf2dd6136e97f2d933753689609568c46ef005f.tar.gz
emacs-fbf2dd6136e97f2d933753689609568c46ef005f.zip
(ff-special-constructs): Delete the Ada entry.
-rw-r--r--lisp/find-file.el10
1 files changed, 0 insertions, 10 deletions
diff --git a/lisp/find-file.el b/lisp/find-file.el
index 259a85fa62a..0831b164272 100644
--- a/lisp/find-file.el
+++ b/lisp/find-file.el
@@ -188,14 +188,6 @@ To override this, give an argument to `ff-find-other-file'."
188 ("^\#\\s *\\(include\\|import\\)\\s +[<\"]\\(.*\\)[>\"]" . 188 ("^\#\\s *\\(include\\|import\\)\\s +[<\"]\\(.*\\)[>\"]" .
189 (lambda () 189 (lambda ()
190 (setq fname (buffer-substring (match-beginning 2) (match-end 2))))) 190 (setq fname (buffer-substring (match-beginning 2) (match-end 2)))))
191
192 ;; Ada import
193 ("^with[ \t]+\\([a-zA-Z0-9_\\.]+\\)" .
194 (lambda ()
195 (setq fname (buffer-substring (match-beginning 1) (match-end 1)))
196 (require 'ada-mode)
197 (setq fname (concat (ada-make-filename-from-adaname fname)
198 ada-spec-suffix))))
199 ) 191 )
200 "*A list of regular expressions for `ff-find-file'. 192 "*A list of regular expressions for `ff-find-file'.
201Specifies how to recognise special constructs such as include files 193Specifies how to recognise special constructs such as include files
@@ -944,8 +936,6 @@ and the name of the file passed in."
944 936
945(defvar ff-function-name nil "Name of the function we are in.") 937(defvar ff-function-name nil "Name of the function we are in.")
946 938
947;(eval-when-compile (require 'ada-mode))
948
949;; bind with (setq ff-pre-load-hook 'ff-which-function-are-we-in) 939;; bind with (setq ff-pre-load-hook 'ff-which-function-are-we-in)
950;; 940;;
951(defun ff-which-function-are-we-in () 941(defun ff-which-function-are-we-in ()