Skip to content

Commit

Permalink
[org] Enable SPC a o / key binding whenever helm-org-rifle not used
Browse files Browse the repository at this point in the history
This enables the key binding when the completion layer is compleseus,
for example.
  • Loading branch information
bcc32 committed Jun 4, 2024
1 parent 2c1d074 commit 36f9573
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion layers/+emacs/org/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,9 @@ Will work on both org-mode and any mode that accepts plain html."
"aof" "feeds"
"aoC" (org-clocks-prefix))
;; org-agenda
(when (configuration-layer/layer-used-p 'ivy)
(unless (when-let ((pkg (configuration-layer/get-package 'helm-org-rifle)))
;; `configuration-layer/package-used-p' doesn't check :toggle status
(cfgl-package-used-p pkg))
(spacemacs/set-leader-keys "ao/" 'org-occur-in-agenda-files))
(spacemacs/set-leader-keys
"ao#" 'org-agenda-list-stuck-projects
Expand Down

0 comments on commit 36f9573

Please sign in to comment.