]> code.delx.au - gnu-emacs-elpa/blobdiff - packages/ada-mode/ada-build.el
ada-mode 5.1.3, wisi 1.0.4
[gnu-emacs-elpa] / packages / ada-mode / ada-build.el
index 8a50e8927c44a595367048079cb27ea459f44752..5a5af5fbcc3a4ca6fae85d4821efed64445bd384 100755 (executable)
@@ -1,7 +1,7 @@
 ;;; 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
@@ -141,7 +141,7 @@ including the directory and extension."
     )))
 
 (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)