emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/yaml 69654c291f 090/124: Fix string values state bug


From: ELPA Syncer
Subject: [elpa] externals/yaml 69654c291f 090/124: Fix string values state bug
Date: Fri, 29 Nov 2024 16:00:05 -0500 (EST)

branch: externals/yaml
commit 69654c291ff0d74da93dfae3ed0f1e9899719e39
Author: Zachary Romero <zacromero@posteo.net>
Commit: Zachary Romero <zacromero@posteo.net>

    Fix string values state bug
---
 yaml.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/yaml.el b/yaml.el
index 317b85050b..c92d42b689 100644
--- a/yaml.el
+++ b/yaml.el
@@ -1064,8 +1064,9 @@ then check EXPR at the current position."
      ((equal 'list sequence-type)
       (setq yaml--parsing-sequence-type 'list))
      (t (error "Invalid sequence-type.  sequence-type must be list or array")))
-    (when string-values
-      (setq yaml--string-values t))))
+    (if string-values
+        (setq yaml--string-values t)
+      (setq yaml--string-values nil))))
 
 (defun yaml-parse-string (string &rest args)
   "Parse the YAML value in STRING.  Keyword ARGS are as follows:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]