summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-01-19 00:42:16 +0200
committerThanos Apollo <[email protected]>2024-01-19 00:42:16 +0200
commitb79a2331f253f180ee74df2fd6ff6385a96193a0 (patch)
tree014f3e9b9b6937db78dcd48868450f0cae36f822 /gnosis.el
parente57b48ba4e5ea9a0de16d35913f120742e79f594 (diff)
gnosis-edit-update-note: Use memq instead of member
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 3e8af94..08e803c 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -1175,7 +1175,7 @@ SECOND-IMAGE: Image to display after user-input"
(image . ,image)
(second-image . ,second-image))
when value
- do (cond ((member field '(extra-notes image second-image))
+ do (cond ((memq field '(extra-notes image second-image))
(gnosis-update 'extras `(= ,field ,value) `(= id ,id)))
((listp value)
(gnosis-update 'notes `(= ,field ',value) `(= id ,id)))