(setq org-confirm-shell-link-function nil)
Shell links can be dangerous: just think about a link
[[shell:rm -rf ~/*][Google Search]]
This link would show up in your Org document as "Google Search",
but really it would remove your entire home directory.
Therefore we advise against setting this variable to nil.
Just change it to ‘y-or-n-p’ if ...
Look at the help for execute-extended-command (via C-h f execute-extended-command):
It is bound to , , M-x.
(execute-extended-command PREFIXARG &optional COMMAND-NAME TYPED)
This function is for interactive use only;
in Lisp code use ‘command-execute’ instead.
Read a command name, then read the arguments and call the command.
To pass a prefix argument ...
A quoted list doesn't evaluate its args, so it consists of a string, a list containing a symbol and another string. You can selectively evaluate it using backquote and unquote:
`("foo" ,(foobar) "bar") ;=> ("foo" "foobar" "bar")
(string-join `("foo" ,(foobar) "bar") "|") ;=>...
The issue come because the print output stream and the eval output stream are the same.
If you create a different output stream as the default one, the trouble diseapear.
(setq foo '(cat dog rat bar ))
(dolist (ele foo)
(print ele (get-buffer-create "kill-me")))
The print is now int the "kill-me" buffer and the nil in the default ...