]> code.delx.au - gnu-emacs/commitdiff
(ada-prj-display-page): Use `mapc' rather than `mapcar'.
authorJuanma Barranquero <lekktu@gmail.com>
Wed, 26 Sep 2007 00:24:29 +0000 (00:24 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Wed, 26 Sep 2007 00:24:29 +0000 (00:24 +0000)
lisp/progmodes/ada-prj.el

index 7cff0158f8a6be5223b27288b4374e9ec317e750..b3f059b2b347da6e079e34fdb392695271a6d8ef 100644 (file)
@@ -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