aboutsummaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2023-08-28 09:07:22 +1000
committerYuchen Pei <id@ypei.org>2023-08-28 09:07:22 +1000
commit6b333484fe43cf0b508ac8bfc61e63b1e63a4665 (patch)
tree51649d45557c247e85082e09996ccae9debe1824 /emacs
parent296c05bc4d8b4f2b33b899c862c00dd362902a88 (diff)
[emacs] some small changes
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init/ycp-markup.el2
-rw-r--r--emacs/.emacs.d/init/ycp-org.el1
-rw-r--r--emacs/.emacs.d/lisp/my/my-org.el2
3 files changed, 3 insertions, 2 deletions
diff --git a/emacs/.emacs.d/init/ycp-markup.el b/emacs/.emacs.d/init/ycp-markup.el
index 843accd..d4879dd 100644
--- a/emacs/.emacs.d/init/ycp-markup.el
+++ b/emacs/.emacs.d/init/ycp-markup.el
@@ -72,7 +72,7 @@
(my-keybind wiki-mode-map
"C-'" #'my-wiki-grok-wikipedia)
(my-setq-from-local wiki-sites)
- (wiki-define-site-commands))
+ (define-wiki-site-commands))
(my-package ledger-mode
(:install t)
diff --git a/emacs/.emacs.d/init/ycp-org.el b/emacs/.emacs.d/init/ycp-org.el
index 49869f6..81f30ee 100644
--- a/emacs/.emacs.d/init/ycp-org.el
+++ b/emacs/.emacs.d/init/ycp-org.el
@@ -304,6 +304,7 @@
("c" . my-org-copy-property-value)
("x" . my-org-osm-goto)
("X" . my-osm-org-add-properties)
+ ("Y" . my-org-logbook-yank)
("y" . my-grok-update-properties)
("z" . my-org-orgzly-merge-link)
("A" . org-attach)
diff --git a/emacs/.emacs.d/lisp/my/my-org.el b/emacs/.emacs.d/lisp/my/my-org.el
index ae21b37..334f708 100644
--- a/emacs/.emacs.d/lisp/my/my-org.el
+++ b/emacs/.emacs.d/lisp/my/my-org.el
@@ -558,7 +558,7 @@ Assuming they are in the logbook drawer"
(interactive)
(my-org-kill-logbook-entries)
(save-excursion
- (call-interactively 'org-goto)
+ (org-refile '(4))
(my-org-logbook-yank)))
;;; to remove