From 2cf9421c223d223b6785edd946050bc80721389e Mon Sep 17 00:00:00 2001 From: Howard Abrams Date: Thu, 25 Jul 2024 21:44:18 -0700 Subject: [PATCH] Bug that didn't bring in publishing commands --- ha-org-publishing.org | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/ha-org-publishing.org b/ha-org-publishing.org index 859852e..458b07a 100644 --- a/ha-org-publishing.org +++ b/ha-org-publishing.org @@ -333,16 +333,15 @@ Using =rsync= to keep published files in sync with my website: * Keybindings Make it easy to publish all projects or single project: #+begin_src emacs-lisp - (with-eval-after-load 'ha-org - (ha-leader :keymaps 'org-mode-map - "o p" '(:ignore t :which-key "publish") - "o p a" '("all" . org-publish-all) - "o p p" '("project" . org-publish-project) - "o p s" '("sync site" . ha-sync-site) - "o p h" '("hamacs" . (lambda () (interactive) - (org-publish-project "hamacs") - (sit-for 30) - (ha-sync-site "hamacs"))))) + (ha-leader :keymaps 'org-mode-map + "o p" '(:ignore t :which-key "publish") + "o p a" '("all" . org-publish-all) + "o p p" '("project" . org-publish-project) + "o p s" '("sync site" . ha-sync-site) + "o p h" '("hamacs" . (lambda () (interactive) + (org-publish-project "hamacs") + (sit-for 30) + (ha-sync-site "hamacs")))) #+end_src And let's put a /leader key/ sequence for my favorite file on my website: