Backport commit 0da8118dc from Emacs

* lisp/org.el (org-revert-all-org-buffers): Use command substitution.

Use command substitution instead of raw keys in more places
0da8118dcbf3c54dd6ecc9c0e3314a56ca82ec51
Stefan Kangas
Fri Sep 24 21:26:08 2021 +0200
This commit is contained in:
Stefan Kangas 2021-09-24 20:59:32 +02:00 committed by Kyle Meyer
parent 63a5af9e8e
commit b2da9ea3b6
1 changed files with 2 additions and 2 deletions

View File

@ -15215,9 +15215,9 @@ This function is useful in a setup where one tracks Org files
with a version control system, to revert on one machine after pulling
changes from another. I believe the procedure must be like this:
1. M-x org-save-all-org-buffers
1. \\[org-save-all-org-buffers]
2. Pull changes from the other machine, resolve conflicts
3. M-x org-revert-all-org-buffers"
3. \\[org-revert-all-org-buffers]"
(interactive)
(unless (yes-or-no-p "Revert all Org buffers from their files? ")
(user-error "Abort"))