Commit 56eaedfe authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

(ediff-toggle-multiframe, ediff-toggle-use-toolbar, ediff-really-quit,

ediff-clear-diff-vector): Use `mapc' rather than `mapcar'.
parent 3f0f4f6f
......@@ -1317,7 +1317,7 @@ which see."
;; change default
(setq-default ediff-window-setup-function window-setup-func)
;; change in all active ediff sessions
(mapcar (lambda(buf) (ediff-with-current-buffer buf
(mapc (lambda(buf) (ediff-with-current-buffer buf
(setq ediff-window-setup-function window-setup-func
ediff-window-B nil)))
ediff-session-registry)
......@@ -1341,7 +1341,7 @@ To change the default, set the variable `ediff-use-toolbar-p', which see."
;; do this only after killing the toolbar
(setq ediff-use-toolbar-p (not ediff-use-toolbar-p))
(mapcar (lambda(buf)
(mapc (lambda(buf)
(ediff-with-current-buffer buf
;; force redisplay
(setq ediff-window-config-saved "")
......@@ -2439,11 +2439,11 @@ temporarily reverses the meaning of this variable."
;; Apply selective display to narrow or widen
(ediff-visible-region)
(mapcar (lambda (overl)
(mapc (lambda (overl)
(if (ediff-overlayp overl)
(ediff-delete-overlay overl)))
ediff-wide-bounds)
(mapcar (lambda (overl)
(mapc (lambda (overl)
(if (ediff-overlayp overl)
(ediff-delete-overlay overl)))
ediff-narrow-bounds)
......@@ -3747,7 +3747,7 @@ Ediff Control Panel to restore highlighting."
;; VEC is either a difference vector or a fine-diff vector
(defun ediff-clear-diff-vector (vec-var &optional fine-diffs-also)
(if (vectorp (symbol-value vec-var))
(mapcar (lambda (elt)
(mapc (lambda (elt)
(ediff-delete-overlay
(ediff-get-diff-overlay-from-diff-record elt))
(if fine-diffs-also
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment