minad / consult

:mag: consult.el - Consulting completing-read
GNU General Public License v3.0
1.13k stars 99 forks source link

Error when switching buffer with `consult-ripgrep` #908

Closed artemkovalyov closed 5 months ago

artemkovalyov commented 5 months ago

Hey @minad, after updating the package I started getting an error when selecting a candidate from consult-ripgrep results.

Error in post-command-hook (consult--preview-post-command-hook): (void-function without-restriction)
consult--marker-from-line-column: Symbol’s function definition is void: without-restriction

I tried looking at what's new in the docs related to the preview functionality but couldn't make it go away. I also don't use the preview. Can you help me solve this or suggest in which direction to look?

Let me know if you need more input.