diff options
author | Sacha Chua <sacha@sachachua.com> | 2022-11-14 20:42:57 -0500 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2022-11-14 20:42:57 -0500 |
commit | 0765008e7471fb2a561674aee62481ba80e1a01c (patch) | |
tree | 78242d7cebd6e6bd7356a556832293ee7d1e834c /emacsconf.el | |
parent | 0608ece50bc7b01f2118cca903a78db6f2ac026e (diff) | |
download | emacsconf-el-0765008e7471fb2a561674aee62481ba80e1a01c.tar.xz emacsconf-el-0765008e7471fb2a561674aee62481ba80e1a01c.zip |
mail merge improvements
Diffstat (limited to 'emacsconf.el')
-rw-r--r-- | emacsconf.el | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/emacsconf.el b/emacsconf.el index 36d21b2..855e2f8 100644 --- a/emacsconf.el +++ b/emacsconf.el @@ -1250,9 +1250,26 @@ tracks with the ID in the cdr of that list." (if do-insert (insert result)) result)) +(defun emacsconf-add-to-logbook (note) + "Add NOTE as a logbook entry for the current subtree." + (move-marker org-log-note-return-to (point)) + (move-marker org-log-note-marker (point)) + (with-temp-buffer + (insert note) + (let ((org-log-note-purpose 'note)) + (org-store-log-note)))) + +(defun emacsconf-add-to-talk-logbook (talk note) + "Add NOTE as a logbook entry for TALK." + (interactive (list (emacsconf-complete-talk) (read-string "Note: "))) + (save-excursion + (emacsconf-with-talk-heading talk + (emacsconf-add-to-logbook note)))) + (defun emacsconf-reload () "Reload the emacsconf-el modules." (interactive) (mapc #'load-library '("emacsconf" "emacsconf-erc" "emacsconf-publish" "emacsconf-stream" "emacsconf-pad"))) + (provide 'emacsconf) ;;; emacsconf.el ends here |