joostkremers / ebib

A BibTeX database manager for Emacs.
https://joostkremers.github.io/ebib/
BSD 3-Clause "New" or "Revised" License
272 stars 37 forks source link

ebib-preload-bib-files: add a safe-local-variable property #296

Closed Hugo-Heagren closed 2 months ago

Hugo-Heagren commented 2 months ago

I've started using a .bib file to hold data for my CV. When I'm working on the TeX (or bbx, cbx, dbx, cls, etc.) in the CV folder, I the only bib file I want to edit is that one. I never really want to edit it otherwise. So, it's useful if this variable can be set locally (using .dir-locals). To avoid having to confirm that it's safe every time, I've added a sensible test for safety.

joostkremers commented 2 months ago

Merged, thanks. :+1: