From f1e5e3a4e8c7c30367cddf10ef136a74563c47b4 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 7 Jul 2026 14:36:06 -0700 Subject: 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. --- oni-org/oni-org.el | 10 +++++++--- 1 file 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 ;; 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) -- cgit v1.3-2-g0d8e