Migrate from straight.el to elpaca.

Idk why, I only can try it.

For now the emacs-init-time whas improved.
This commit is contained in:
KJ
2023-09-16 14:05:56 -04:00
parent 04e3e2ec29
commit 503bf53890
15 changed files with 99 additions and 120 deletions

View File

@ -50,7 +50,7 @@
;; org-mode
(use-package org
:defer t
:straight (:type built-in)
:elpaca nil
:bind (("C-c a" . org-agenda)
("C-c c" . org-capture))
:hook
@ -139,24 +139,23 @@
(buffer-substring-no-properties (point) (point-max)))
(message "Download of image \"%s\" failed" link)
nil)))
)
;; Org-yt para soportar embebidos.
(use-package org-yt
:elpaca (:host github :repo "TobiasZawada/org-yt")
:config
(org-link-set-parameters "http" :image-data-fun #'org-http-image-data-fn)
(org-link-set-parameters "https" :image-data-fun #'org-http-image-data-fn)
(use-package org-yt
:defer t
:straight (org-yt :type git :host github :repo "TobiasZawada/org-yt"))
)
;; Los head "*" se ven como puntos
(use-package org-bullets
:defer t
:straight t
:hook
(org-mode . org-bullets-mode))
(use-package visual-fill-column
:straight t
:defer t
:after (org)
:config
@ -171,7 +170,6 @@
;; Segundo cerebro: Base de conocimientos en formato Zettelkasten
(use-package org-roam
:defer t
:straight t
:ensure t
:bind (("<f4>" . org-roam-node-insert)
("<f3>" . org-roam-node-find))
@ -187,7 +185,6 @@
;; Interface web para navegar en mi base de conocimientos.
(use-package org-roam-ui
:defer t
:straight t
:ensure t
:config
(setq org-roam-ui-sync-theme t
@ -197,13 +194,11 @@
;; Continúa el formato de la lista cuando presionas enter.
(use-package org-autolist
:straight t
:ensure t
:hook (org-mode . org-autolist-mode))
;; Emojis en lugar de letras para las prioridades en org-mode.
(use-package org-fancy-priorities
:straight t
:defer t
:ensure t
:hook (org-mode . org-fancy-priorities-mode)
@ -216,7 +211,6 @@
;; Org mode en modo presentación
(use-package org-present
:straight t
:defer t
:after (org)
:config