[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [PATCH] Do not save target buffer after archiving subtree
From: |
Matt Lundin |
Subject: |
[O] [PATCH] Do not save target buffer after archiving subtree |
Date: |
Sat, 25 Nov 2017 22:00:08 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
The attached patch removes the call to save-buffer in
org-archive-subtree. This significantly reduces the time necessary to
archive a subtree, especially when archiving many subtrees in a region.
Without this patch, Org Mode will save the archive buffer after each
subtree is archived. If one were archiving a region of 50 trees, this
would result in 50 writes to disk in quick succession. This patch makes
the behavior of org-archive-subtree match that of org-refile, which does
not save the target buffer after a refile.
Best,
Matt
0001-Do-not-save-target-buffer-after-archiving-subtree.patch
Description: Text Data
- [O] [PATCH] Do not save target buffer after archiving subtree,
Matt Lundin <=