diff --git a/config.org b/config.org index 301ff16..775c2f2 100644 --- a/config.org +++ b/config.org @@ -681,17 +681,17 @@ This doesn-t work for me for now, very laggy and inconsistent * Drawing tools [[https://github.com/misohena/el-easydraw][el-easydraw]] #+begin_src emacs-lisp - (use-package el-easydraw :ensure t) + ;;(use-package el-easydraw :ensure t :demand nil) (with-eval-after-load 'org - (require 'edraw-org) - (edraw-org-setup-default)) - ;; When using the org-export-in-background option (when using the - ;; asynchronous export function), the following settings are - ;; required. This is because Emacs started in a separate process does - ;; not load org.el but only ox.el. - (with-eval-after-load "ox" - (require 'edraw-org) - (edraw-org-setup-exporter)) + (require 'edraw-org) + (edraw-org-setup-default)) + ;; When using the org-export-in-background option (when using the + ;; asynchronous export function), the following settings are + ;; required. This is because Emacs started in a separate process does + ;; not load org.el but only ox.el. + (with-eval-after-load "ox" + (require 'edraw-org) + (edraw-org-setup-exporter)) #+end_src * RAINBOW DELIMITERS Adding rainbow coloring to parentheses. diff --git a/init.el b/init.el index 15b3d86..6218fb1 100644 --- a/init.el +++ b/init.el @@ -7,6 +7,11 @@ ;; (add-to-list 'package-archives ;; '("melpa-stable" . "https://stable.melpa.org/packages/") t) (package-initialize) +(use-package edraw-org + :ensure t + :after org + :vc (:url "https://github.com/misohena/el-easydraw" + :branch master)) (org-babel-load-file (expand-file-name "config.org" diff --git a/package.nix b/package.nix index c7c8ce8..7796a68 100644 --- a/package.nix +++ b/package.nix @@ -65,6 +65,7 @@ tree-sitter tree-sitter-langs treesit-grammars.with-all-grammars + el-easydraw ])); # Optionally override derivations.