From: Juanma Barranquero Date: Wed, 26 Sep 2007 00:15:01 +0000 (+0000) Subject: (reb-delete-overlays): Use `mapc' rather than `mapcar'. X-Git-Tag: emacs-pretest-23.0.90~10640 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=90ce955480c04ded2a1fc6389b8cad697f9946b2;p=emacs.git (reb-delete-overlays): Use `mapc' rather than `mapcar'. --- diff --git a/lisp/emacs-lisp/re-builder.el b/lisp/emacs-lisp/re-builder.el index d859066c452..a0004be2394 100644 --- a/lisp/emacs-lisp/re-builder.el +++ b/lisp/emacs-lisp/re-builder.el @@ -515,7 +515,7 @@ optional fourth argument FORCE is non-nil." "Delete all RE Builder overlays in the `reb-target-buffer' buffer." (if (buffer-live-p reb-target-buffer) (with-current-buffer reb-target-buffer - (mapcar 'delete-overlay reb-overlays) + (mapc 'delete-overlay reb-overlays) (setq reb-overlays nil)))) (defun reb-assert-buffer-in-window ()