bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17446: 24.4.50; What is the situation around `called-interactively-p


From: Stefan Monnier
Subject: bug#17446: 24.4.50; What is the situation around `called-interactively-p'?
Date: Sat, 10 May 2014 16:15:42 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

> I still don't understand how this would be able to call interactively
> something like:

> (count-words-region 234 567 nil)

The code I showed takes an interactive function with some args, rips the
function apart to rebuild a new one whose interactive spec just returns
those args.
If the function is a symbol, then recurse on (symbol-function fun).


        Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]