New answers tagged

1

As npostavs explains in a comment, the noninteractive suggestion is to do: (defun foo (&optional interactivep) (interactive "p") ... ...use `interactivep' when you want to know if the call was interactive. ...) which corresponds to (called-interactive-p 'any) or (defun foo (&optional interactivep) (interactive (list (not (or executing-...


Top 50 recent answers are included