Simon Wright <[email protected]> writes:

> 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)

gprbuild is multi-language, so this is not strictly correct.

gnatmake is deprecated in the latest GNAT Pro, so ada-build.el will need to
transition to multi-language gpr-build.el. Then it would be proper to bind
C-c C-c to gpr-build-make. So I guess this doesn't hurt now.

-- 
-- Stephe

_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org

Reply via email to