From 41e7061517ebd212b648a1a1e558ee5a23f2e95a Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sat, 3 Feb 2024 16:07:18 +0200 Subject: [fix] gnosis-display-extra: Adjust for nil value --- gnosis.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))))) -- cgit v1.2.3