tags 24358 patch quit Eli Zaretskii writes: > > Then yes, you will need to somehow pass down the object from which the > text comes. It can be in some global variable, for instance, if > changing the function's signature is undesirable. I decided that a global variable would be a bad idea since it would still effectively be part of the calling convention, and too easy for callers to forget. But just after finishing the patch I noticed this: /* In Emacs, this is the string or buffer in which we are matching. It is used for looking up syntax properties. */ Lisp_Object re_match_object; So now I'm thinking it might be better to reuse that variable instead. Although it only seems to get to Qt, Qnil, and string objects; I'm not sure what the meaning of Qt and Qnil are.