summaryrefslogtreecommitdiffhomepage
path: root/custom
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-06-20 02:44:42 +0100
committerjao <jao@gnu.org>2022-06-20 02:44:42 +0100
commitb9c7025d9f185dda75e21acf290d28c6af4338c2 (patch)
tree445567bc44e934a13c75fa7153f424f3436d1b25 /custom
parent1bcd011d9bc1eff669e8167b5c1100824b175c15 (diff)
downloadelibs-b9c7025d9f185dda75e21acf290d28c6af4338c2.tar.gz
elibs-b9c7025d9f185dda75e21acf290d28c6af4338c2.tar.bz2
blog: fix for transient
Diffstat (limited to 'custom')
-rw-r--r--custom/jao-custom-blog.el28
1 files changed, 14 insertions, 14 deletions
diff --git a/custom/jao-custom-blog.el b/custom/jao-custom-blog.el
index 6d2d3f6..3014cb5 100644
--- a/custom/jao-custom-blog.el
+++ b/custom/jao-custom-blog.el
@@ -207,20 +207,20 @@
(interactive)
(insert jao-org-static-blog--prev-end))
-(jao-transient-major-mode+ org
- ["Insert blog snippet"
- ("s" "preview begin" jao-org-static-prev-begin)
- ("S" "preview end" jao-org-static-prev-end)
- ("T" "update date" jao-org-static-blog-update-date)]
- ["Edit blog"
- ("n" "create post" jao-org-static-blog-create-new-post)
- ("d" "create draft" jao-org-static-blog-create-new-draft)
- ("e" "edit draft" jao-org-static-blog-edit-draft)]
- ["Publish blog"
- ("D" "publish draft" jao-org-static-blog-publish-draft)
- ("f" "publish single file" jao-org-blog-publish-file)
- ("p" "publish all" jao-org-blog-publish)
- ("r" "republish" jao-org-blog-republish)])
+(transient-define-prefix jao-transient-org-blog ()
+ [["Insert blog snippet"
+ ("s" "preview begin" jao-org-static-prev-begin)
+ ("S" "preview end" jao-org-static-prev-end)
+ ("T" "update date" jao-org-static-blog-update-date)]
+ ["Edit blog"
+ ("n" "create post" jao-org-static-blog-create-new-post)
+ ("d" "create draft" jao-org-static-blog-create-new-draft)
+ ("e" "edit draft" jao-org-static-blog-edit-draft)]
+ ["Publish blog"
+ ("D" "publish draft" jao-org-static-blog-publish-draft)
+ ("f" "publish single file" jao-org-blog-publish-file)
+ ("p" "publish all" jao-org-blog-publish)
+ ("r" "republish" jao-org-blog-republish)]])
;;; .
(provide 'jao-custom-blog)