You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Help GNU Emacs
Is there a way to detect when a variable changes?
Specifically, the buffer-local variable default-directory
is changing at some point and I'd like to detect
what code is doing that.
--
Joe Riel
Eli Zaretskii
unread,
Oct 4, 2017, 3:40:29 PM10/4/17
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to help-gn...@gnu.org
> Date: Wed, 4 Oct 2017 11:57:18 -0700
> From: Joe Riel <jo...@san.rr.com>
>
> Is there a way to detect when a variable changes?
Emacs 26 has a watchpoint-like facility which you could use for that.