From 23ee5ed080bd249564e17e4fadd80223a37ed9fd Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 25 May 2023 14:09:45 -0700 Subject: [PATCH] =?UTF-8?q?Revert=20"[oni-core]=20Call=20=E2=80=98consult-?= =?UTF-8?q?customize=E2=80=99=20from=20the=20top-level"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 961651e5752f9037e4c52f5130fd42f9c9874b26. It works in an interactive session, but still fails while starting up. Probably has to do with autoloads not having finished loading yet, perhaps? --- oni-core.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/oni-core.el b/oni-core.el index db3e121..ca9b403 100644 --- a/oni-core.el +++ b/oni-core.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2023.0525.134737 +;; Version: 2023.0524.235720 ;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key insert-char-preview mixed-pitch ace-window vertico marginalia orderless consult embark docstr mini-frame) ;; This program is free software; you can redistribute it and/or modify @@ -450,14 +450,14 @@ _s_: String list" :enabled buffer-file-name :action find-file)) -(eval-when-compile - (require 'consult)) - -(consult-customize consult-buffer :preview-key nil) +(defun oni-core-remove-consult-buffer-preview () + (consult-customize consult-buffer :preview-key nil)) (with-eval-after-load 'consult (with-eval-after-load 'related-files - (add-to-list 'consult-buffer-sources 'oni-core-related-places-source))) + (add-to-list 'consult-buffer-sources 'oni-core-related-places-source)) + + (oni-core-remove-consult-buffer-preview)) ;;; Embark