Skip to content

Commit ef3fdc0

Browse files
arifer612bdarcus
authored andcommitted
feat: new citar-bibtex-no-export-fields custom variable
This commit adds a new custom variable, i.e., `citar-bibtex-no-export-fields', which serves a similar purpose to `bibtex-completion-no-export-fields' found in bibtex-completion. It is a list of bibtex fields that will be used to inform `citar--insert-bibtex' to omit out when exporting/inserting bibtex entries.
1 parent 0d98191 commit ef3fdc0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

citar.el

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,11 @@ always prompt to select."
345345
(function-item citar-open-notes)
346346
(function-item citar-open-note))))
347347

348+
(defcustom citar-bibtex-no-export-fields nil
349+
"A list of fields that should be ignored when exporting BibTeX entries."
350+
:group 'citar
351+
:type '(repeat string))
352+
348353
;;;; File, note, and URL handling
349354

350355
(defcustom citar-open-resources '(:files :links :notes :create-notes)

0 commit comments

Comments
 (0)