summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2021-05-04 20:51:11 -0400
committerKyle Meyer <kyle@kyleam.com>2021-06-11 23:22:24 -0400
commitaf7c235f9632ae519067b6c7fd5a9d34a8f2da97 (patch)
treee12d2734956f1b8a24d4362764581c2a01fd6542
parent9c537f08ceb7c8594d97270c614680638f2695f6 (diff)
downloademacs.d-af7c235f9632ae519067b6c7fd5a9d34a8f2da97.tar.gz
org: Modify org-speed-commands instead of org-speed-commands-user
See d48276b89 (Replace `org-speed-commands-user' by `org-speed-commands', 2021-05-03).
-rw-r--r--init.el13
1 files changed, 10 insertions, 3 deletions
diff --git a/init.el b/init.el
index e87b4d0..940630b 100644
--- a/init.el
+++ b/init.el
@@ -342,17 +342,24 @@
(define-key org-mode-map [remap org-refile] #'km/org-refile-dwim)
(define-key org-mode-map [remap org-goto] #'km/org-goto)
- (add-to-list 'org-speed-commands-user
+ (add-to-list 'org-speed-commands
'("m" . (progn (forward-char 1)
(call-interactively
#'org-insert-todo-heading-respect-content))))
- (add-to-list 'org-speed-commands-user '("o" . km/org-open-at-point-stay))
- (add-to-list 'org-speed-commands-user '("w" . km/org-refile-dwim))
+ (add-to-list 'org-speed-commands '("o" . km/org-open-at-point-stay))
+ (add-to-list 'org-speed-commands '("w" . km/org-refile-dwim))
(setq org-refile-target-verify-function #'km/org-refile-verify-target)
(add-hook 'org-after-refile-insert-hook #'km/org-maybe-sort-parent)
(org-add-link-type "pmid" #'km/org-pmid-open))
+ (with-eval-after-load 'org-keys
+ (add-to-list 'org-speed-commands
+ '("m" . (progn (forward-char 1)
+ (call-interactively
+ #'org-insert-todo-heading-respect-content))))
+ (add-to-list 'org-speed-commands '("o" . km/org-open-at-point-stay))
+ (add-to-list 'org-speed-commands '("w" . km/org-refile-dwim)))
(with-eval-after-load 'ox-md
(advice-add 'org-md-paragraph :filter-return #'km/org-md-fill-string)))