org-attach: update dired when attaching with the mv method

* lisp/org-attach.el (org-attach-dired-to-subtree): Revert dired
  buffer when the mv method is active.
This commit is contained in:
Marco Wahl 2019-01-28 09:26:18 +01:00
parent 5c07b4522c
commit 9018e755fe
1 changed files with 3 additions and 1 deletions

View File

@ -626,7 +626,9 @@ Idea taken from `gnus-dired-attach'."
(select-window other-win)
(dolist (file files)
(org-attach-attach file))
(select-window start-win)))
(select-window start-win)
(when (eq 'mv org-attach-method)
(revert-buffer))))