From 6b333484fe43cf0b508ac8bfc61e63b1e63a4665 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Mon, 28 Aug 2023 09:07:22 +1000 Subject: [emacs] some small changes --- emacs/.emacs.d/init/ycp-markup.el | 2 +- emacs/.emacs.d/init/ycp-org.el | 1 + emacs/.emacs.d/lisp/my/my-org.el | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) (limited to 'emacs/.emacs.d') 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 -- cgit v1.2.3