The macro \frac, for example, expands immediately after pressing Enter while \author-email-note waits for the arguments before evaluating,

Or one can press Enter twice to expand it.
My own macro works like \frac. This can be very handy, but sometimes the second behavior is preferred because the arguments can be entered faster. How do I set the behavior to one of the two?
I tried to put my macro in inactive* but it didn’t work.