diff options
author | Thanos Apollo <[email protected]> | 2024-11-06 11:13:15 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-11-07 10:12:24 +0200 |
commit | 7f6dd4e2b0f78083fc296589bb1a298bb4bac355 (patch) | |
tree | dd39b6558fe84599a54502d3c57ecf3bc09bd1ac | |
parent | ce54993dc3dc28b7a97bbbf165cf82e785d3f291 (diff) |
validate-custom-values: Update error messages.
-rw-r--r-- | gnosis.el | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2055,7 +2055,8 @@ SUSPEND: Suspend note, 0 for unsuspend, 1 for suspend" (memq (nth 0 entry) '(:deck :tag)) (stringp (nth 1 entry)) (listp (nth 2 entry))) ; Ensure the third element is a plist - (error "Each entry should a have :deck or :tag keyword, a string, and a plist of custom values")) + (error + "Each entry should a have :deck or :tag keyword, a string, and a plist of custom values")) (let ((proto (plist-get (nth 2 entry) :proto)) (anagnosis (plist-get (nth 2 entry) :anagnosis)) (epignosis (plist-get (nth 2 entry) :epignosis)) @@ -2063,7 +2064,7 @@ SUSPEND: Suspend note, 0 for unsuspend, 1 for suspend" (amnesia (plist-get (nth 2 entry) :amnesia)) (lethe (plist-get (nth 2 entry) :lethe))) (unless (and (listp proto) (cl-every #'integerp proto)) - (error "Proto must be a list of interval integer values")) + (error "Proto must be a list of integer values")) (unless (or (null anagnosis) (integerp anagnosis)) (error "Anagnosis should be an integer")) (unless (or (null epignosis) (numberp epignosis)) |