diff --git a/oni-core.el b/oni-core.el index ca9b403..4d16a11 100644 --- a/oni-core.el +++ b/oni-core.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2023.0524.235720 +;; Version: 2023.0525.151855 ;; 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)) -(defun oni-core-remove-consult-buffer-preview () - (consult-customize consult-buffer :preview-key nil)) +(eval-when-compile + (require 'consult)) (with-eval-after-load 'consult (with-eval-after-load 'related-files (add-to-list 'consult-buffer-sources 'oni-core-related-places-source)) - (oni-core-remove-consult-buffer-preview)) + (consult-customize consult-buffer :preview-key nil)) ;;; Embark