Subject: Re: bug#23933: 25.1.50; Run a buffer-local hook with mapc

From: Noam Postavsky <[email-masked]>
Date: Sun, 10 Jul 2016 13:41:51 -0400

On Sun, Jul 10, 2016 at 1:31 PM, Tino Calancha <[email-masked]> wrote:
> I have tried another approach: drop the let binding
> and call run-hooks over the actual hook, as follows:
[...]
> but it doesn't work: the meta-buffer is not shown.
> I prefer my initial patch which behaves the same as before
> adding the lexical-binding.

The easiest fix might be to just make after-quit-hook-internal a
dynamic variable (i.e., declare it with defvar). But perhaps better is
to stop using add-hook for ediff-after-quit-hook-internal, and just
use push.