From 1b08608928fb6415f2631b416db1eff697b9a080 Mon Sep 17 00:00:00 2001 From: Benson Chu Date: Mon, 24 Oct 2022 09:45:34 -0500 Subject: [PATCH] org-ql via quelpa instead --- .gitmodules | 3 --- lisp/org-config/my-org-agenda-commands.el | 5 +++++ submodule/org-ql | 1 - 3 files changed, 5 insertions(+), 4 deletions(-) delete mode 160000 submodule/org-ql diff --git a/.gitmodules b/.gitmodules index 1ef0f4f..62344d4 100644 --- a/.gitmodules +++ b/.gitmodules @@ -46,9 +46,6 @@ [submodule "custom/org-reveal"] path = submodule/org-reveal url = https://github.com/yjwen/org-reveal -[submodule "custom/org-ql"] - path = submodule/org-ql - url = https://github.com/pestctrl/org-ql/ [submodule "submodule/emacs-piper"] path = submodule/emacs-piper url = https://gitlab.com/howardabrams/emacs-piper diff --git a/lisp/org-config/my-org-agenda-commands.el b/lisp/org-config/my-org-agenda-commands.el index f5277c9..c9e755f 100644 --- a/lisp/org-config/my-org-agenda-commands.el +++ b/lisp/org-config/my-org-agenda-commands.el @@ -22,6 +22,9 @@ ;;; Commentary: ;;; Code: +(require 'use-package) +(use-package quelpa) + (require 'org-agenda) (require 'org-get-time) (require 'my-org-agenda-files) @@ -37,6 +40,8 @@ (use-package peg) (use-package ov) (use-package dash-functional) +(let ((fetcher (if my-ec/at-ti "github" "github-ssh"))) + (quelpa `(org-ql :repo "pestctrl/org-ql" :branch "my-changes" :fetcher ,fetcher))) (require 'org-ql) (require 'org-ql-search) (require 'org-ql-custom-stuck-projects) diff --git a/submodule/org-ql b/submodule/org-ql deleted file mode 160000 index 32e4d20..0000000 --- a/submodule/org-ql +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 32e4d208b18806976200658c533f3c3b9acc1956