Bug that didn't bring in publishing commands

This commit is contained in:
Howard Abrams 2024-07-25 21:44:18 -07:00
parent 12d12bd3da
commit 2cf9421c22

View file

@ -333,16 +333,15 @@ Using =rsync= to keep published files in sync with my website:
* Keybindings * Keybindings
Make it easy to publish all projects or single project: Make it easy to publish all projects or single project:
#+begin_src emacs-lisp #+begin_src emacs-lisp
(with-eval-after-load 'ha-org (ha-leader :keymaps 'org-mode-map
(ha-leader :keymaps 'org-mode-map "o p" '(:ignore t :which-key "publish")
"o p" '(:ignore t :which-key "publish") "o p a" '("all" . org-publish-all)
"o p a" '("all" . org-publish-all) "o p p" '("project" . org-publish-project)
"o p p" '("project" . org-publish-project) "o p s" '("sync site" . ha-sync-site)
"o p s" '("sync site" . ha-sync-site) "o p h" '("hamacs" . (lambda () (interactive)
"o p h" '("hamacs" . (lambda () (interactive) (org-publish-project "hamacs")
(org-publish-project "hamacs") (sit-for 30)
(sit-for 30) (ha-sync-site "hamacs"))))
(ha-sync-site "hamacs")))))
#+end_src #+end_src
And let's put a /leader key/ sequence for my favorite file on my website: And let's put a /leader key/ sequence for my favorite file on my website: