summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-02-28 00:30:38 +0200
committerThanos Apollo <[email protected]>2024-02-28 00:30:38 +0200
commitaa15b5022fc76204c7e1e34d9181adbffb4f6a6b (patch)
tree1e9725c161002b22fb03dcece0e28c17ab1a7018 /gnosis.el
parentf65c2821017423d97aa1ca9d46968fdd784a3e77 (diff)
gnosis-edit-update-note: Refactor to handle second-image
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnosis.el b/gnosis.el
index bd62690..e707ac6 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -1229,12 +1229,12 @@ SECOND-IMAGE: Image to display after user-input"
(tags . ,tags)
(extra-notes . ,extra-notes)
(images . ,image)
- (second-image . ,second-image)
+ (extra-image . ,second-image)
(ef . ',ef)
(ff . ,ff)
(suspend . ,suspend))
when value
- do (cond ((memq field '(extra-notes images second-image))
+ do (cond ((memq field '(extra-notes images extra-image))
(gnosis-update 'extras `(= ,field ,value) `(= id ,id)))
((memq field '(ef ff))
(gnosis-update 'review `(= ,field ,value) `(= id ,id)))