summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2023-07-28 12:56:34 +0100
committerYann Herklotz <git@yannherklotz.com>2023-07-28 12:57:14 +0100
commit88e6c03f57f936539ac5f2afa05ad46af8425693 (patch)
tree82a403fca46daf8218d301ef52a25ede3198a0bc
parentb71ca523e221c0bad9ea3af4d1d170f230786cf5 (diff)
downloadymh-emacs-88e6c03f57f936539ac5f2afa05ad46af8425693.tar.gz
ymh-emacs-88e6c03f57f936539ac5f2afa05ad46af8425693.zip
Use use-package-vc for ox-contextmain
-rw-r--r--.gitmodules3
-rw-r--r--init.el16
m---------packages/ox-context0
3 files changed, 5 insertions, 14 deletions
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
-Subproject ed789ca9b6678719e4047fc60300308763ba6ef