bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23820: 25.1.50; Fix caller to ediff-setup


From: Noam Postavsky
Subject: bug#23820: 25.1.50; Fix caller to ediff-setup
Date: Wed, 22 Jun 2016 00:33:20 -0400

On Wed, Jun 22, 2016 at 12:15 AM, Tino Calancha <f92capac@gmail.com> wrote:
>
> Hello,
>
> Seventh argument of ediff-setup is a hook: hilit-chg-get-diff-info
> is passing a function.

I think that argument is not a hook but just a list of functions, so
it should suffice to do

@@ -913,7 +916,7 @@ hilit-chg-get-diff-info
   (let (hilit-e hilit-x hilit-y)
     (ediff-setup buf-a file-a buf-b file-b
               nil nil   ; buf-c file-C
-              'hilit-chg-get-diff-list-hk
+              '(hilit-chg-get-diff-info-hk)
               (list (cons 'ediff-job-name 'something))
               )
     (ediff-with-current-buffer hilit-e (ediff-really-quit nil))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]