fixup use Elpaca commit

ensure vertico-directory :after vertico.
load org config using expand-file-name instead of load-file-name.
Add :ensure nil to subsequent Org use-package declarations.
This commit is contained in:
Nicholas Vollmer
2024-06-27 17:40:12 -04:00
committed by Ivan Malison
parent 8794829f81
commit 0d21252693
2 changed files with 5 additions and 1 deletions

View File

@@ -1895,6 +1895,7 @@ Neotree is useless with frame mode for now, so I've disabled it.
(vertico-mode))
(use-package vertico-directory :ensure nil
:after (vertico)
:bind (:map vertico-map
("RET" . vertico-directory-enter)
("DEL" . vertico-directory-delete-char)
@@ -2971,7 +2972,7 @@ The following is taken from [[https://github.com/syl20bnr/spacemacs/blob/a650877
My org-mode configuration now lives in its own file org-config.org.
#+BEGIN_SRC emacs-lisp
(org-babel-load-file
(concat (file-name-directory load-file-name) "org-config.org"))
(expand-file-name "org-config.org" user-emacs-directory))
#+END_SRC
*** TeX
#+BEGIN_SRC emacs-lisp

View File

@@ -18,6 +18,7 @@ We're going to use this to write separate parts of our config to different secti
#+begin_src emacs-lisp
(defmacro imalison:org-config ()
`(use-package org
:ensure nil
:commands (org-mode org org-mobile-push org-mobile-pull org-agenda)
:mode ("\\.org\\'" . org-mode)
:preface (progn ,@(imalison:include-file-as-forms (imalison:join-paths user-emacs-directory "org-config-preface.el")))
@@ -761,6 +762,7 @@ SCHEDULED: %^t
Note that this does not go into org-config-config.el. This is on purpose
#+begin_src emacs-lisp
(use-package org
:ensure nil
:after frame-mode
:config
(progn
@@ -785,6 +787,7 @@ Note that this does not go into org-config-config.el. This is on purpose
This was taken from [[http://emacs.stackexchange.com/questions/3374/set-the-background-of-org-exported-code-blocks-according-to-theme][here]].
#+BEGIN_SRC emacs-lisp
(use-package org
:ensure nil
:config
(progn
(defun imalison:org-inline-css-hook (exporter)