Merge from emacs--rel--22
[bpt/emacs.git] / lisp / progmodes / ada-prj.el
index 10a5b67..be2d320 100644 (file)
@@ -1,7 +1,7 @@
 ;;; ada-prj.el --- GUI editing of project files for the ada-mode
 
-;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
-;; Free Software Foundation, Inc.
+;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
+;;   2007, 2008 Free Software Foundation, Inc.
 
 ;; Author: Emmanuel Briot <briot@gnat.com>
 ;; Maintainer: Stephen Leake <stephen_leake@stephe-leake.org>
@@ -11,7 +11,7 @@
 
 ;; GNU Emacs is free software; you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
+;; the Free Software Foundation; either version 3, or (at your option)
 ;; any later version.
 
 ;; GNU Emacs is distributed in the hope that it will be useful,
@@ -254,8 +254,8 @@ The current buffer must be the project editing buffer."
       (progn
        (setq widget-field-new  nil
              widget-field-list nil)
-       (mapcar (lambda (x) (delete-overlay x)) (car (overlay-lists)))
-       (mapcar (lambda (x) (delete-overlay x)) (cdr (overlay-lists)))))
+       (mapc (lambda (x) (delete-overlay x)) (car (overlay-lists)))
+       (mapc (lambda (x) (delete-overlay x)) (cdr (overlay-lists)))))
 
   ;;  Display the tabs