refactor(vertico): don't suppress compression errors
This was fixed upstream Ref: minad/marginalia#132
This commit is contained in:
parent
c9665f733b
commit
c39acf284b
1 changed files with 0 additions and 11 deletions
|
@ -235,17 +235,6 @@ orderless."
|
||||||
'(projectile-switch-to-buffer . buffer)
|
'(projectile-switch-to-buffer . buffer)
|
||||||
'(projectile-switch-project . project-file))
|
'(projectile-switch-project . project-file))
|
||||||
|
|
||||||
;; HACK minad/marginalia#127 adds annotation to read-library-name, but
|
|
||||||
;; compression errors (or any errors while reading compressed files) will
|
|
||||||
;; break completion entirely. This advice suppresses those errors and
|
|
||||||
;; degrades gracefully.
|
|
||||||
;; TODO PR error handling upstream.
|
|
||||||
(defadvice! +vertico--suppress-errors-a (fn &rest args)
|
|
||||||
:around #'marginalia--library-doc
|
|
||||||
(letf! ((#'jka-compr-error #'ignore))
|
|
||||||
(ignore-errors (apply fn args)))))
|
|
||||||
|
|
||||||
|
|
||||||
(use-package! embark-consult
|
(use-package! embark-consult
|
||||||
:after (embark consult)
|
:after (embark consult)
|
||||||
:config
|
:config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue