summaryrefslogtreecommitdiff
path: root/docs/with-editor.texi
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2024-07-25 16:26:01 +0200
committerJonas Bernoulli <jonas@bernoul.li>2024-07-25 16:26:01 +0200
commitecec77daa9716ebd0f28bb94bdf21310e60d93fa (patch)
treedf1ee7ec7c1677bea499652c82aaf207d0658160 /docs/with-editor.texi
parent97dd5dd4b69a040506f4fc104dc0b855e84c1c0f (diff)
with-editor-mode: Prevent dangerous use as a command
We already prevent disabling the mode interactively, but now we do so by not even defining it as a command, if the used Emacs version supports it. More importantly, also prevent the mode from being enabled. Enabling the mode manually is dangerous because, as always, that instructs the user on how to cancel the buffer, and if they do that, then that also deletes the visited file. Closes #131.
Diffstat (limited to 'docs/with-editor.texi')
0 files changed, 0 insertions, 0 deletions