GNU bug report logs - #17285
24.3.90: EDIFF fails with 'Wrong type argument: lisp' in ediff-set-fine-diff-properties

Previous Next

Package: emacs;

Reported by: Charles Rendleman <carendle <at> gmail.com>

Date: Thu, 17 Apr 2014 19:43:01 UTC

Severity: normal

Merged with 17257, 17259, 17265, 17273, 17287, 17382, 17491

Found in versions 24.3.90, 24.4.50

Fixed in versions 24.3.91, 24.4

Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
To: Charles Rendleman <carendle <at> gmail.com>
Cc: 17285 <at> debbugs.gnu.org
Subject: bug#17285: 24.3.90: EDIFF fails with 'Wrong type argument: lisp' in ediff-set-fine-diff-properties
Date: Thu, 17 Apr 2014 22:37:00 +0200
Charles Rendleman <carendle <at> gmail.com> writes:
> ediff-set-fine-diff-properties: Wrong type argument: listp, [#<overlay
> from 14 to 17 in f1>]

This looks like a duplicate of #17257, fixed a few days ago. You can try
to rebuild emacs or apply the fix to your tree:

diff --git a/lisp/vc/ediff-diff.el b/lisp/vc/ediff-diff.el
index f429eb3..ed248fb 100644
--- a/lisp/vc/ediff-diff.el
+++ b/lisp/vc/ediff-diff.el
@@ -822,8 +822,9 @@ one optional arguments, diff-number to refine.")
 		(ediff-get-symbol-from-alist
 		 buf-type ediff-fine-diff-face-alist)
 		)))
-    (dolist (overl fine-diff-vector)
-      (ediff-set-overlay-face overl face))))
+    (mapc (lambda (overl)
+	    (ediff-set-overlay-face overl face))
+	  fine-diff-vector)))
 
 ;; Set overlays over the regions that denote delimiters
 (defun ediff-set-fine-overlays-for-combined-merge (diff-list reg-num)


-- 
Nico.




This bug report was last modified 11 years and 8 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.