summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-02-03 16:07:18 +0200
committerThanos Apollo <[email protected]>2024-02-03 16:07:18 +0200
commit41e7061517ebd212b648a1a1e558ee5a23f2e95a (patch)
tree3e1c2f70f3b4469335913ab06a3aaea05838d52a /gnosis.el
parentaacefc53247210df4af0758ecfe11a67d7082623 (diff)
[fix] gnosis-display-extra: Adjust for nil value
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnosis.el b/gnosis.el
index 1ad8a1c..b4d2e44 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -307,7 +307,7 @@ If FALSE t, use gnosis-face-false face"
(defun gnosis-display-extra (id)
"Display extra information for note ID."
- (let ((extras (gnosis-get 'extra-notes 'extras `(= id ,id))))
+ (let ((extras (or (gnosis-get 'extra-notes 'extras `(= id ,id)) "")))
(goto-char (point-max))
(insert (propertize "\n\n-----\n" 'face 'gnosis-face-seperator))
(fill-paragraph (insert "\n" (propertize extras 'face 'gnosis-face-extra)))))