changeset 84902:ba9c9ff8aab7

(reb-delete-overlays): Use `mapc' rather than `mapcar'.
author Juanma Barranquero <lekktu@gmail.com>
date Wed, 26 Sep 2007 00:15:01 +0000
parents c22466a5f332
children a164ccfc4d79
files lisp/emacs-lisp/re-builder.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/re-builder.el	Wed Sep 26 00:14:38 2007 +0000
+++ b/lisp/emacs-lisp/re-builder.el	Wed Sep 26 00:15:01 2007 +0000
@@ -515,7 +515,7 @@
   "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 ()