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

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

Re: Suppress user-prompting when calling commands in programs


From: Eli Zaretskii
Subject: Re: Suppress user-prompting when calling commands in programs
Date: Fri, 13 Jun 2014 17:03:11 +0300

> From: Thorsten Jolitz <address@hidden>
> Date: Fri, 13 Jun 2014 15:51:47 +0200
> 
> (defun foo (&optional arg)
>   (interactive "P")
>   (let ((bar (org-icompleting-read ...)))))

Yuck!

> Assuming `foo' can't be changed - is there another way to bind `bar'
> before calling `foo' in a program rather than advising `foo' (with the
> aim to suppress any user-prompting at all during the execution of
> `foo')?

cl-flet org-icompleting-read to 'ignore?



reply via email to

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