emacs-devel
[Top][All Lists]
Advanced

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

Re: New hook before-region-change-functions wanted


From: Alan Mackenzie
Subject: Re: New hook before-region-change-functions wanted
Date: Fri, 8 Sep 2017 15:12:14 +0000
User-agent: Mutt/1.7.2 (2016-11-26)

Hello, Eli.

On Fri, Sep 08, 2017 at 18:10:31 +0300, Eli Zaretskii wrote:
> > Date: Fri, 8 Sep 2017 14:46:57 +0000
> > From: Alan Mackenzie <address@hidden>

> > I would like to implement a new abnormal hook,
> > before-change-region-functions.  It would be called just before a change
> > in the buffer's restriction (i.e., from widen and from narrow-to-region)
> > and each function on it would take two parameters, the beginning and end
> > of the new region being set.

> If this hook will react to restriction, then
> before-change-region-functions is not an appropriate name for it.
> It's not the region you are changing.

How about before-change-restriction-functions?

-- 
Alan Mackenzie (Nuremberg, Germany).



reply via email to

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