[Top][All Lists]

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

Re: [PATCH] Run hook when variable is set

From: Stefan Monnier
Subject: Re: [PATCH] Run hook when variable is set
Date: Wed, 28 Jan 2015 14:25:40 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> The patch attached below lets you hook a symbol too, so you can run
> some function(s) whenever the global or buffer-local variable by that
> name is set, or a dynamic variable by that name is bound, set,
> or unbound.

NACK from me.

> The purpose of this new feature is to enable a proper fix for bug
> #19068, and to enable a solution to Stefan's requirement that
> dynamic-cursor-mode be enabled by default as a condition for adding
> the latter to Emacs.

All that just to avoid using the minor mode?  I already posted the code
that I think should be used for that minor mode.


reply via email to

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