Comment out org-tag code

It isn't working for me right now.
This commit is contained in:
Case Duckworth 2021-08-10 14:48:02 -05:00
parent efd14ea6b1
commit 49374613f6
1 changed files with 9 additions and 7 deletions

16
init.el
View File

@ -1357,13 +1357,15 @@ if ripgrep is installed, otherwise `consult-grep'."
(vertico-mouse-mode +1)
;; Workarounds!
(when (version< org-version "9.5")
(defun disable-selection ()
(when (eq minibuffer-completion-table #'org-tags-completion-function)
(setq-local vertico-map minibuffer-local-completion-map
completion-cycle-threshold nil
completion-styles '(basic))))
(advice-add #'vertico--setup :before #'disable-selection)))
;; (with-eval-after-load 'org
;; (when (version< org-version "9.5")
;; (defun disable-selection ()
;; (when (eq minibuffer-completion-table #'org-tags-completion-function)
;; (setq-local vertico-map minibuffer-local-completion-map
;; completion-cycle-threshold nil
;; completion-styles '(basic))))
;; (advice-add #'vertico--setup :before #'disable-selection)))
)
(setup (:straight vuiet)
(:needs "youtube-dl"