|
From: | Thierry Volpiatto |
Subject: | bug#17446: 24.4.50; What is the situation around `called-interactively-p'? |
Date: | Sat, 10 May 2014 11:10:28 +0200 |
User-agent: | mu4e 0.9.9.6pre3; emacs 24.4.50.1 |
Drew Adams <drew.adams@oracle.com> writes: > In any case, I will wait to see how this changes the > `repeat-complex-command' code and then do likewise for my code, > which is similar. Probably I will inline the funcall-interactively version Stefan and Michael sent and use something like this in helm: (defun helm-sexp-eval (cand) (let ((sexp (read cand))) (condition-case err (apply #'funcall-interactively (car sexp) (mapcar (lambda (e) (eval e t)) (cdr sexp))) (error (message "Evaluating gave an error: %S" err) nil)))) Probably you can do something similar in icicles. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997
[Prev in Thread] | Current Thread | [Next in Thread] |