int query_editing(pl)
object pl

returns 1 if pl currently uses ed.

See also query_input_pending.
