* org-revert-all-org-buffers always prompts
@ 2017-02-16 15:34 Alan Schmitt
0 siblings, 0 replies; only message in thread
From: Alan Schmitt @ 2017-02-16 15:34 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 748 bytes --]
Hello,
I use `org-revert-all-org-buffers` in the recommended way (after calling
`org-save-all-org-buffers`), so I would expect that I would not be asked
confirmation as no org buffer is unsaved, as is said in the function
description:
"Prompt for confirmation when there are unsaved changes."
Unfortunately the code does not do this:
(unless (yes-or-no-p "Revert all Org buffers from their files? ")
(user-error "Abort"))
i.e., there is no check for unsaved changes, and so I have a prompt in
the middle of some code, interrupting my function.
Is there a way to disable the prompt?
Thanks,
Alan
--
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2017-01: 406.13, 2016-01: 402.52
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-02-16 15:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-16 15:34 org-revert-all-org-buffers always prompts Alan Schmitt
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.