branch: externals/yaml commit 1f15c0b33a3b4177516cb6b84aab9c2ceed8e060 Merge: d0abc17e3d 50a3a00cb8 Author: Zachary Romero <zacrom...@posteo.net> Commit: GitHub <nore...@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)