From aa15b5022fc76204c7e1e34d9181adbffb4f6a6b Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 28 Feb 2024 00:30:38 +0200 Subject: gnosis-edit-update-note: Refactor to handle second-image --- gnosis.el | 4 ++-- 1 file 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))) -- cgit v1.2.3