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: Eli Zaretskii
Subject: Re: New hook before-region-change-functions wanted
Date: Fri, 08 Sep 2017 18:10:31 +0300

> 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.



reply via email to

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