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: Thierry Volpiatto
Subject: bug#17446: 24.4.50; What is the situation around `called-interactively-p'?
Date: Sat, 10 May 2014 07:51:30 +0200
User-agent: mu4e 0.9.9.6pre3; emacs 24.4.50.2

Stefan Monnier <address@hidden> writes:

>> Right, I'm thinking of introducing a new `funcall-interactively' which
>> is just like `funcall' except that the called function will see its
>> `called-interactively-p' returning non-nil.
>
> How 'bout the patch below,

Just applied and tried, it is working fine, thanks.

However:

> +          (apply #'funcall-interactively
> +              (car newcmd)
> +              (mapcar (lambda (e) (eval e t)) (cdr newcmd))))

Is this needed ?

Looks like 

(apply #'funcall-interactively (car newcmd) (cdr newcmd))

is enough no ?

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 






reply via email to

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