;;; ada-build.el --- extensions to ada-mode for compiling and running
;;; Ada projects without 'make' or similar tool
;;
-;;; Copyright (C) 1994, 1995, 1997 - 2013 Free Software Foundation, Inc.
+;;; Copyright (C) 1994, 1995, 1997 - 2014 Free Software Foundation, Inc.
;;
;; Author: Stephen Leake <stephen_leake@member.fsf.org>
;; Maintainer: Stephen Leake <stephen_leake@member.fsf.org>
;;
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
-;;
-;;; Usage:
-;;
-;; Add (require 'ada-build) to your .emacs
;;; Design:
;;
;; compiling and running capabilities in Ada mode 4.01, done in 2013 by
;; Stephen Leake <stephen_leake@stephe-leake.org>.
+(when (and (= emacs-major-version 24)
+ (= emacs-minor-version 2))
+ (require 'ada-mode-compat-24.2))
+
(require 'ada-mode)
;;;; User customization
)))
(defun ada-build-select-default-prj ()
- "Create and select a new default project, with current buffer as main program."
+ "Create and select a new default project."
(let ((prj-file (expand-file-name "default.adp"))
project)