Hack around recent DOOM Emacs issues

This commit is contained in:
Correl Roush 2023-02-13 21:13:07 -05:00
parent 74bece01a8
commit 4a9bb7585d
2 changed files with 16 additions and 0 deletions

View file

@ -53,3 +53,11 @@
;; When using bibtex-completion via the `biblio` module
(unpin! bibtex-completion helm-bibtex ivy-bibtex)
;; HACK: Install a local copy of ob-ledger
;; Required until https://github.com/doomemacs/doomemacs/issues/6457 is fixed
(package! ob-ledger :recipe (:local-repo "lisp/ob-ledger"))
;; HACK: Pin transient and with-editor until https://github.com/doomemacs/doomemacs/issues/7078 is fixed
(package! transient :pin "c2bdf7e12c530eb85476d3aef317eb2941ab9440")
(package! with-editor :pin "391e76a256aeec6b9e4cbd733088f30c677d965b")

View file

@ -16,4 +16,12 @@ if ! [ -d ${HOME}/.doom.d ]; then
_run "[emacs-doom] Install .doom.d" ln -s ${HOME}/dotfiles/.doom.d ${HOME}/.doom.d
fi
# HACK: Install a local copy of ob-ledger
# Required until https://github.com/doomemacs/doomemacs/issues/6457 is fixed
if ! [ -f ${HOME}/.doom.d/lisp/ob-ledger/ob-ledger.el ]; then
mkdir -p ${HOME}/.doom.d/lisp/ob-ledger
_run "[curl] Installing local ob-ledger" curl -sLo ${HOME}/.doom.d/lisp/ob-ledger/ob-ledger.el \
'https://raw.githubusercontent.com/overtone/emacs-live/master/packs/stable/org-pack/lib/org-mode/lisp/ob-ledger.el'
fi
_run "[emacs-doom] Refreshing" $HOME/.emacs.d/bin/doom sync