From 88e6c03f57f936539ac5f2afa05ad46af8425693 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Fri, 28 Jul 2023 12:56:34 +0100 Subject: Use use-package-vc for ox-context --- .gitmodules | 3 --- init.el | 16 +++++----------- packages/ox-context | 1 - 3 files changed, 5 insertions(+), 15 deletions(-) delete mode 160000 packages/ox-context diff --git a/.gitmodules b/.gitmodules index 4f71ec1..e69de29 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +0,0 @@ -[submodule "packages/ox-context"] - path = packages/ox-context - url = https://git.sr.ht/~ymherklotz/ox-context diff --git a/init.el b/init.el index 1f5da61..0e9aeb9 100644 --- a/init.el +++ b/init.el @@ -501,7 +501,9 @@ https://yannherklotz.com")) (fringe unspecified) (bg-line-number-active bg-hl-line) (bg-line-number-inactive unspecified) - (fg-line-number-active fg-main))) + (fg-line-number-active fg-main) + (bg-hl-line bg-dim) + (cursor magenta-intense))) (modus-themes-to-toggle '(modus-operandi-tinted modus-vivendi-tinted)) (modus-themes-italic-constructs t) @@ -1316,9 +1318,8 @@ https://yannherklotz.com")) :ensure t) (use-package ox-context - :init - (unless (package-installed-p 'ox-context) - (package-install-file (expand-file-name "packages/ox-context" user-emacs-directory))) + :ensure t + :vc (:url "https://github.com/Jason-S-Ross/ox-context" :rev "main") :config (add-to-list 'org-context-snippets-alist '("ymh-abstract" . "\\definestartstop [abstract] @@ -1415,13 +1416,6 @@ https://yannherklotz.com")) ;; Add colemak friendly keys for avy to use. (avy-keys '(97 114 115 116 100 104 110 101 105 111))) -;; Collect emacs statistics and run `emacs-gc-stats-save-session' when ready in -;; ~3 weeks. -(use-package emacs-gc-stats - :ensure t - :config - (emacs-gc-stats-mode +1)) - (setq gc-cons-threshold (* 1024 1024 10)) (provide 'init) diff --git a/packages/ox-context b/packages/ox-context deleted file mode 160000 index ed789ca..0000000 --- a/packages/ox-context +++ /dev/null @@ -1 +0,0 @@ -Subproject commit ed789ca9b6678719e4047fc60300308763ba6ef2 -- cgit