Executing Org Code Block w/o Confirmation?
Brendan Leber <[email protected]> Mon, 20 Jul 2026 15:28:58 -0700
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <[email protected]> |
Greetings!
Generally I want confirmation before executing code blocks in org-mode files. However, there are
some that are non-destructive and I would like those to just execute. Reading the manual and info
pages it seems I can disable confirmation for executing every code block, or disable confirmation on
a language by language basis. Is there a way to disable the confirmation for a block like shown
below?
#+begin_src sh :eval yes
curl --insecure --silent -X 'GET' \
'https://10.10.11.154/api/v1/foo/bar' \
-H 'accept: application/json' \
-H 'Authorization: apikey=sekrit'
#+end_src
Thanks!
B
--
The Pragmatic Programmer Tip 70:
Sign your work.