[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: execute elisp link without prompt
From: |
Nicolas Goaziou |
Subject: |
Re: execute elisp link without prompt |
Date: |
Fri, 21 May 2021 18:28:33 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hello,
Colin Baxter <m43cap@yandex.com> writes:
> I have an elisp link of the form (without spaces, of course)
> [ [elisp:(dired-other-window "/path/to/directory/") ][ Directory ] ].
>
> The link works with the directory in appearing in dired window. However,
> when I first click on the link, a dialog box is brought up asking me if
> a I wish to execute the command. Of course, I do - and I click 'Yes'.
>
> How can I go to link directly without being interrogated by the dialog
> box?
See org-link-elisp-confirm-function.
Regards,
--
Nicolas Goaziou