aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/ada-prj.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/ada-prj.el b/lisp/progmodes/ada-prj.el
index 7cff0158f8..b3f059b2b3 100644
--- a/lisp/progmodes/ada-prj.el
+++ b/lisp/progmodes/ada-prj.el
@@ -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