1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-30 08:09:04 +00:00

(ediff-clear-fine-diff-vector): Use mapc rather than mapcar.

This commit is contained in:
Glenn Morris 2008-03-04 03:50:15 +00:00
parent 56b654bb5d
commit c921c7ed8f
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2008-03-04 Glenn Morris <rgm@gnu.org>
* textmodes/tex-mode.el (tex-cmd-bibtex-args): Add :version and :group.
* ediff-init.el (ediff-clear-fine-diff-vector): Use mapc rather
than mapcar.
2008-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/byte-opt.el (byte-compile-trueconstp)

View File

@ -1540,8 +1540,8 @@ This default should work without changes."
;; this record is itself a vector
(defsubst ediff-clear-fine-diff-vector (diff-record)
(if diff-record
(mapcar 'ediff-delete-overlay
(ediff-get-fine-diff-vector-from-diff-record diff-record))))
(mapc 'ediff-delete-overlay
(ediff-get-fine-diff-vector-from-diff-record diff-record))))
(defsubst ediff-clear-fine-differences-in-one-buffer (n buf-type)
(ediff-clear-fine-diff-vector (ediff-get-difference n buf-type))