summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaushal Modi <kaushal.modi@gmail.com>2018-12-13 10:11:25 -0500
committerKaushal Modi <kaushal.modi@gmail.com>2018-12-13 10:11:25 -0500
commit54123cd7f20227d9679130bee907ede9e42e73fd (patch)
tree2b995bf421e1ded980f718438a65d80d226f2a2c
parentadec504d5ba3f2089cb689ce5a59692a8ebf6735 (diff)
downloadorg-mode-54123cd7f20227d9679130bee907ede9e42e73fd.tar.gz
Revert "org-capture: Do not save buffer when running `org-capture-finalize'"
This reverts commit b4422add3745c26ec3b2e11b8da425844b2e9d3d. Revert the regression in Org capture + auto-saving behavior. Ref: https://lists.gnu.org/r/emacs-orgmode/2018-09/msg00325.html
-rw-r--r--lisp/org-capture.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/org-capture.el b/lisp/org-capture.el
index 2946b6f..a463e29 100644
--- a/lisp/org-capture.el
+++ b/lisp/org-capture.el
@@ -796,6 +796,7 @@ captured item after finalizing."
(org-encrypt-entry)))
;; Kill the indirect buffer
+ (save-buffer)
(let ((return-wconf (org-capture-get :return-to-wconf 'local))
(new-buffer (org-capture-get :new-buffer 'local))
(kill-buffer (org-capture-get :kill-buffer 'local))