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

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

[elpa] externals/yaml 1f15c0b33a 062/124: Merge pull request #20 from j-


From: ELPA Syncer
Subject: [elpa] externals/yaml 1f15c0b33a 062/124: Merge pull request #20 from j-shilling/fix-encoding-symbols
Date: Fri, 29 Nov 2024 16:00:01 -0500 (EST)

branch: externals/yaml
commit 1f15c0b33a3b4177516cb6b84aab9c2ceed8e060
Merge: d0abc17e3d 50a3a00cb8
Author: Zachary Romero <zacromero@posteo.net>
Commit: GitHub <noreply@github.com>

    Merge pull request #20 from j-shilling/fix-encoding-symbols
    
    FIX insert symbol name when not equal to :null or :false
---
 yaml.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/yaml.el b/yaml.el
index 9e385d1382..17681be76b 100644
--- a/yaml.el
+++ b/yaml.el
@@ -2417,7 +2417,7 @@ auto-detecting the indentation.  Functionality defers to
     (cond
      ((eql s :null) (insert "null"))
      ((eql s :false) (insert "false"))
-     (t (insert t))))
+     (t (insert (symbol-name s)))))
    ((numberp s) (insert (number-to-string s)))
    ((stringp s)
     (if (string-match "\\`[-_a-zA-Z0-9]+\\'" s)



reply via email to

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