From 7262e38546ff3a85de493215b05271775257f35a Mon Sep 17 00:00:00 2001 From: "Martin R. Albrecht" Date: Fri, 12 Jan 2024 15:13:05 +0000 Subject: [PATCH] add option to ignore diacritics --- helm-bibtex.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/helm-bibtex.el b/helm-bibtex.el index 10b1afb..0bcbbd5 100644 --- a/helm-bibtex.el +++ b/helm-bibtex.el @@ -174,12 +174,18 @@ comes out in the right buffer." ;; Helm sources: +(defcustom helm-bibtex-ignore-diacritics nil + "Ignore diacritics when searching." + :group 'bibtex-completion + :type 'boolean) + (defvar helm-source-bibtex (helm-build-sync-source "BibTeX entries" :header-name (lambda (name) (format "%s%s: " name (if helm-bibtex-local-bib " (local)" ""))) :candidates 'helm-bibtex-candidates :filtered-candidate-transformer 'helm-bibtex-candidates-formatter + :diacritics helm-bibtex-ignore-diacritics :action (helm-make-actions "Open PDF, URL or DOI" 'helm-bibtex-open-any "Open URL or DOI in browser" 'helm-bibtex-open-url-or-doi