mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-14 05:23:04 +00:00
Fix field parsing in modes that use the `syntax-table' property
* yasnippet.el (yas--indent-parse-create): Let-bind `parse-sexp-lookup-properties' to nil.
This commit is contained in:
parent
0f6d82feae
commit
1bf7a4cbae
@ -4351,7 +4351,8 @@ with their evaluated value into `yas--backquote-markers-and-strings'."
|
|||||||
(ignore-errors
|
(ignore-errors
|
||||||
(save-match-data ; `scan-sexps' may modify match data.
|
(save-match-data ; `scan-sexps' may modify match data.
|
||||||
(with-syntax-table (standard-syntax-table)
|
(with-syntax-table (standard-syntax-table)
|
||||||
(scan-sexps from count)))))
|
(let ((parse-sexp-lookup-properties nil))
|
||||||
|
(scan-sexps from count))))))
|
||||||
|
|
||||||
(defun yas--make-marker (pos)
|
(defun yas--make-marker (pos)
|
||||||
"Create a marker at POS with nil `marker-insertion-type'."
|
"Create a marker at POS with nil `marker-insertion-type'."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user