diff options
author | Thanos Apollo <[email protected]> | 2024-02-28 01:57:05 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-02-28 01:57:05 +0200 |
commit | 15d32f01f7aa50742efa48c46576b903d7fc35c8 (patch) | |
tree | f5592fc1bd54ca36bc16c579eaad4e6007d268fd | |
parent | 279c40fabb90a1cf51cda141a307e7cd8d0590d5 (diff) |
gnosis-prompt-tags--split: Return "untagged" when input value is nil
Having "" tag should be avoided.
-rw-r--r-- | gnosis.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -886,7 +886,7 @@ provided, use it as the default value." (let* ((previous-note-tags (or nil previous-note-tags)) (tags (split-string (read-from-minibuffer "Tags: " (mapconcat #'identity previous-note-tags " ")) " "))) (setf gnosis-previous-note-tags tags) - tags)) + (if (equal tags '("")) '("untagged") tags))) ;; Review ;;;;;;;;;; |