Is there a way to tell whether a function was called via process filter?
Not currently. We could envision making the code that calls process filters bind this-command to the process that sent the output. That is an incompatible change, but your arguments show that probably the code that runs in filters would not want to test this-command, so it probably won't break anything. We could also create a new variable, perhaps this-process, and bind that instead. I think the former is more elegant. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel