aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2000-05-19 21:40:45 +0000
committerStefan Monnier2000-05-19 21:40:45 +0000
commitdb72f2a6062b5322884f4e71afd625cb55a82cd8 (patch)
treeb9abb014609c1cac5296f862af0c4d5f9887cae4
parent3f0c3d8b96b1652a53689ccbed922d0c7f83662b (diff)
downloademacs-db72f2a6062b5322884f4e71afd625cb55a82cd8.tar.gz
emacs-db72f2a6062b5322884f4e71afd625cb55a82cd8.zip
(ada-mode, ada-create-case-exception): Don't quote lambdas.
-rw-r--r--lisp/progmodes/ada-mode.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/progmodes/ada-mode.el b/lisp/progmodes/ada-mode.el
index 32043a1b3bb..31652181dbc 100644
--- a/lisp/progmodes/ada-mode.el
+++ b/lisp/progmodes/ada-mode.el
@@ -6,7 +6,7 @@
6;; Markus Heritsch <Markus.Heritsch@studbox.uni-stuttgart.de> 6;; Markus Heritsch <Markus.Heritsch@studbox.uni-stuttgart.de>
7;; Emmanuel Briot <briot@gnat.com> 7;; Emmanuel Briot <briot@gnat.com>
8;; Maintainer: Emmanuel Briot <briot@gnat.com> 8;; Maintainer: Emmanuel Briot <briot@gnat.com>
9;; Ada Core Technologies's version: $Revision: 1.70 $ 9;; Ada Core Technologies's version: $Revision: 1.31 $
10;; Keywords: languages ada 10;; Keywords: languages ada
11 11
12;; This file is not part of GNU Emacs 12;; This file is not part of GNU Emacs
@@ -926,7 +926,7 @@ If you use ada-xref.el:
926 ;; Support for compile.el 926 ;; Support for compile.el
927 ;; We just substitute our own functions to go to the error. 927 ;; We just substitute our own functions to go to the error.
928 (add-hook 'compilation-mode-hook 928 (add-hook 'compilation-mode-hook
929 '(lambda() 929 (lambda()
930 (set 'compile-auto-highlight 40) 930 (set 'compile-auto-highlight 40)
931 (define-key compilation-minor-mode-map [mouse-2] 931 (define-key compilation-minor-mode-map [mouse-2]
932 'ada-compile-mouse-goto-error) 932 'ada-compile-mouse-goto-error)
@@ -973,7 +973,7 @@ If you use ada-xref.el:
973 (concat "^\\(private[ \t]\\)?[ \t]*package[ \t]+" 973 (concat "^\\(private[ \t]\\)?[ \t]*package[ \t]+"
974 "\\(body[ \t]+\\)?" 974 "\\(body[ \t]+\\)?"
975 "\\(\\(\\sw\\|[_.]\\)+\\)\\.\\(\\sw\\|_\\)+[ \t\n]+is")) 975 "\\(\\(\\sw\\|[_.]\\)+\\)\\.\\(\\sw\\|_\\)+[ \t\n]+is"))
976 '(lambda () 976 (lambda ()
977 (set 'fname (ff-get-file 977 (set 'fname (ff-get-file
978 ff-search-directories 978 ff-search-directories
979 (ada-make-filename-from-adaname 979 (ada-make-filename-from-adaname
@@ -983,7 +983,7 @@ If you use ada-xref.el:
983 ;; go to the correct package. 983 ;; go to the correct package.
984 (add-to-list 'ff-special-constructs 984 (add-to-list 'ff-special-constructs
985 (cons "^separate[ \t\n]*(\\(\\(\\sw\\|[_.]\\)+\\))" 985 (cons "^separate[ \t\n]*(\\(\\(\\sw\\|[_.]\\)+\\))"
986 '(lambda () 986 (lambda ()
987 (set 'fname (ff-get-file 987 (set 'fname (ff-get-file
988 ff-search-directories 988 ff-search-directories
989 (ada-make-filename-from-adaname 989 (ada-make-filename-from-adaname
@@ -993,7 +993,7 @@ If you use ada-xref.el:
993 ;; old one can handle only one possible type of extension for Ada files 993 ;; old one can handle only one possible type of extension for Ada files
994 (add-to-list 'ff-special-constructs 994 (add-to-list 'ff-special-constructs
995 (cons "^with[ \t]+\\([a-zA-Z0-9_\\.]+\\)" 995 (cons "^with[ \t]+\\([a-zA-Z0-9_\\.]+\\)"
996 '(lambda () 996 (lambda ()
997 (set 'fname (ff-get-file 997 (set 'fname (ff-get-file
998 ff-search-directories 998 ff-search-directories
999 (ada-make-filename-from-adaname 999 (ada-make-filename-from-adaname
@@ -1032,7 +1032,7 @@ If you use ada-xref.el:
1032 (add-hook 'local-write-file-hooks 'ada-remove-trailing-spaces) 1032 (add-hook 'local-write-file-hooks 'ada-remove-trailing-spaces)
1033 ;; convert all tabs to the correct number of spaces. 1033 ;; convert all tabs to the correct number of spaces.
1034 (add-hook 'local-write-file-hooks 1034 (add-hook 'local-write-file-hooks
1035 '(lambda () (untabify (point-min) (point-max)))))) 1035 (lambda () (untabify (point-min) (point-max))))))
1036 1036
1037 (run-hooks 'ada-mode-hook) 1037 (run-hooks 'ada-mode-hook)
1038 1038
@@ -1131,7 +1131,7 @@ The standard casing rules will no longer apply to this word."
1131 ;; Save the list in the file 1131 ;; Save the list in the file
1132 (find-file (expand-file-name ada-case-exception-file)) 1132 (find-file (expand-file-name ada-case-exception-file))
1133 (erase-buffer) 1133 (erase-buffer)
1134 (mapcar '(lambda (x) (insert (car x) (nth 1 x) "\n")) 1134 (mapcar (lambda (x) (insert (car x) (nth 1 x) "\n"))
1135 (sort exception-list 1135 (sort exception-list
1136 (lambda(a b) (string< (car a) (car b))))) 1136 (lambda(a b) (string< (car a) (car b)))))
1137 (save-buffer) 1137 (save-buffer)