> Doesn't the following work?

> (defvar in-my-filter-p nil)

> (defun my-filter (proc text)
>   (let ((in-my-filter-p t))
>     ...))

> (defun my-after-change-function ()
>   (if in-my-filter-p
>     ...

No, because the after-change-function is generic and doesn't know about all
the various filter functions it might interact with (which it'd have to
tweak with defadvice in order to do what you suggest).

My guess is that after-change-function is the wrong place to do what the OP
wants to do.


        Stefan


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to