aboutsummaryrefslogtreecommitdiffstats
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2022-05-11 21:40:54 -0700
committerGravatar Tom Willemse2022-05-13 11:15:01 -0700
commitda68ca4f7d24b13e0f95fae1e19a153c21d74661 (patch)
tree497fb196603e4da9edfd8460b2cfa17ffdfedba1 /.dir-locals.el
parent4b94f8403c7fe7df1f5f0a97c2b132b9b946c345 (diff)
downloademacs-config-da68ca4f7d24b13e0f95fae1e19a153c21d74661.tar.gz
emacs-config-da68ca4f7d24b13e0f95fae1e19a153c21d74661.zip
[oni-org] Fix using ‘oni-org-move-subtree’ multiple times in a row
Before, because of the use of ‘org-cut-subtree’, which in turn calls ‘kill-region’, which checks to see if ‘last-command’ equals ‘kill-region’ and uses either ‘kill-append’ or ‘kill-new’ repeated uses of the ‘oni-org-move-subtree’ command would append cut subtrees together and repeatedly paste the same subtrees over and over again. Setting ‘this-command’ will make sure that when the ‘kill-region’ checks the value of ‘last-command’ it won't find ‘kill-region’ there.
Diffstat (limited to '.dir-locals.el')
0 files changed, 0 insertions, 0 deletions