diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2022-02-25 17:24:49 +0100 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2022-02-25 17:24:49 +0100 |
| commit | 8bad69a6acb94d5e910bcb63cd6fbddaa4c789be (patch) | |
| tree | 896af86e55c5fcf28561c921c8e517adcd9e2b28 /local | |
| parent | 18300ee9e15dfa2bb9b0f4becfd73863c4c6ff9a (diff) | |
don't insert empty tags on import
Diffstat (limited to 'local')
| -rw-r--r-- | local/bibli-paris/bibli-paris.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/local/bibli-paris/bibli-paris.el b/local/bibli-paris/bibli-paris.el index 715899b..914a5f2 100644 --- a/local/bibli-paris/bibli-paris.el +++ b/local/bibli-paris/bibli-paris.el @@ -363,7 +363,7 @@ inserting the heading." (if (not (string-equal formatted-value "")) (org-set-property formatted-key formatted-value)))) keys row) - (when tags (org-toggle-tag tags 'on)))) + (when (not (string-equal tags "")) (org-toggle-tag tags 'on)))) (defun bibli-paris/insert-or-update-csv-entries (keys rows recnum-lines &optional tags state) |
