I made these changes so that C-c C-c builds the current project properly:
diff -r 7234d444c3d3 gpr-mode.el
--- a/gpr-mode.el Fri Apr 24 14:28:53 2015 +0000
+++ b/gpr-mode.el Sun Apr 26 08:55:52 2015 +0100
@@ -46,7 +46,7 @@
(define-key map [return] 'ada-indent-newline-indent)
(define-key map "\C-c`" 'ada-show-secondary-error)
;; comment-dwim is in global map on M-;
- (define-key map "\C-c\C-c" 'compile)
+ (define-key map "\C-c\C-c" 'ada-build-make)
(define-key map "\C-c\C-e" 'gpr-expand)
(define-key map "\C-c\C-f" 'gpr-show-parse-error)
(define-key map "\C-c\C-i" 'gpr-indent-statement)
@@ -77,6 +77,7 @@
["Customize" (customize-group 'ada)];; we reuse the Ada indentation
options
["------" nil nil]
["Find and select project ..." ada-build-prompt-select-prj-file t]
+ ["Build current project" ada-build-make t]
["Select project ..." ada-prj-select t]
["Parse and select current file" gpr-set-as-project t]
["Show current project" ada-prj-show t]
_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org