0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 18:36:26 +00:00

org-capture: Do not save buffer when running `org-capture-finalize'

* lisp/org-capture.el (org-capture-finalize): Do not run
  `save-buffer'.
This commit is contained in:
Feng Shu 2018-04-16 09:02:13 +08:00 committed by Nicolas Goaziou
parent 280e3c9b53
commit b4422add37

View file

@ -791,7 +791,6 @@ 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))