aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2026-07-07 14:36:06 -0700
committerGravatar Tom Willemse2026-07-07 14:36:06 -0700
commitf1e5e3a4e8c7c30367cddf10ef136a74563c47b4 (patch)
tree0f04d44c0f402522fabeeda889920f77611e0bfd
parentb5624181553224003cfe1114d131daf219cb3c4f (diff)
downloademacs-config-f1e5e3a4e8c7c30367cddf10ef136a74563c47b4.tar.gz
emacs-config-f1e5e3a4e8c7c30367cddf10ef136a74563c47b4.zip
oni-org: Remove org-pretty-table from install-time dependencies
Instead I'm using `use-package' to specify that the package should be downloaded when the org-mode file is first loaded.
-rw-r--r--oni-org/oni-org.el10
1 files changed, 7 insertions, 3 deletions
diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el
index c1eaa92..c748317 100644
--- a/oni-org/oni-org.el
+++ b/oni-org/oni-org.el
@@ -4,8 +4,8 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2026.0629.154048
-;; Package-Requires: (oni-hydra org org-edna diminish olivetti org-pretty-table)
+;; Version: 2026.0707.142905
+;; Package-Requires: (oni-hydra org org-edna diminish olivetti)
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@@ -51,6 +51,11 @@
(require 'range)
(require 'subr-x)
+(use-package org-pretty-table
+ :vc (:url "https://github.com/Fuco1/org-pretty-table.git"
+ :rev :newest)
+ :hook (org-mode))
+
;;; Constants
(defconst oni-org-root
@@ -362,7 +367,6 @@ and not a state update."
(add-hook 'org-mode-hook 'flyspell-mode)
(add-hook 'org-mode-hook 'olivetti-mode)
(add-hook 'org-mode-hook 'org-indent-mode)
-(add-hook 'org-mode-hook 'org-pretty-table-mode)
(add-hook 'org-mode-hook 'variable-pitch-mode)
(add-hook 'org-mode-hook 'visual-line-mode)
(add-hook 'org-mode-hook 'yas-minor-mode)