diff options
author | Kyle Meyer <kyle@kyleam.com> | 2021-05-04 20:51:11 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2021-06-11 23:22:24 -0400 |
commit | af7c235f9632ae519067b6c7fd5a9d34a8f2da97 (patch) | |
tree | e12d2734956f1b8a24d4362764581c2a01fd6542 | |
parent | 9c537f08ceb7c8594d97270c614680638f2695f6 (diff) | |
download | emacs.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.el | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -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))) |