Commit 7c4d5b8a authored by Richard M. Stallman's avatar Richard M. Stallman

(org-confirm-shell-link-function, org-confirm-elisp-link-function): Doc fixes.

parent dd1fdb74
2007-09-23 Richard Stallman <rms@gnu.org>
* textmodes/org.el (org-confirm-shell-link-function)
(org-confirm-elisp-link-function): Doc fixes.
2007-09-23 Glenn Morris <rgm@gnu.org>
* ses.el (ses-calculate-cell): Don't evaluate unsafe formulae.
......
......@@ -1231,15 +1231,15 @@ if one was given like in <mailto:arthur@galaxy.org::this subject>."
(defcustom org-confirm-shell-link-function 'yes-or-no-p
"Non-nil means, ask for confirmation before executing shell links.
Shell links can be dangerous, just think about a link
Shell links can be dangerous: just think about a link
[[shell:rm -rf ~/*][Google Search]]
This link would show up in your Org-mode document as \"Google Search\"
This link would show up in your Org-mode document as \"Google Search\",
but really it would remove your entire home directory.
Therefore I *definitely* advise against setting this variable to nil.
Just change it to `y-or-n-p' of you want to confirm with a single key press
rather than having to type \"yes\"."
Therefore we advise against setting this variable to nil.
You can change it to `y-or-n-p' if you want to confirm
with a single keystroke instead of \"yes\"."
:group 'org-link-follow
:type '(choice
(const :tag "with yes-or-no (safer)" yes-or-no-p)
......@@ -1247,16 +1247,16 @@ rather than having to type \"yes\"."
(const :tag "no confirmation (dangerous)" nil)))
(defcustom org-confirm-elisp-link-function 'yes-or-no-p
"Non-nil means, ask for confirmation before executing elisp links.
Elisp links can be dangerous, just think about a link
"Non-nil means, ask for confirmation before executing Emacs Lisp links.
Emacs Lisp links can be dangerous: just think about a link
[[elisp:(shell-command \"rm -rf ~/*\")][Google Search]]
This link would show up in your Org-mode document as \"Google Search\"
This link would show up in your Org-mode document as \"Google Search\",
but really it would remove your entire home directory.
Therefore I *definitely* advise against setting this variable to nil.
Just change it to `y-or-n-p' of you want to confirm with a single key press
rather than having to type \"yes\"."
Therefore we advise against setting this variable to nil.
You can change it to `y-or-n-p' if you want to confirm
with a single keystroke instead of \"yes\"."
:group 'org-link-follow
:type '(choice
(const :tag "with yes-or-no (safer)" yes-or-no-p)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment