branch: master commit 1bf7a4cbae76dea27c0ba5cc8f8579dc97a89caa Author: Noam Postavsky <npost...@users.sourceforge.net> Commit: Noam Postavsky <npost...@users.sourceforge.net>
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. --- yasnippet.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yasnippet.el b/yasnippet.el index a3a1eaa..fbdb461 100644 --- a/yasnippet.el +++ b/yasnippet.el @@ -4351,7 +4351,8 @@ with their evaluated value into `yas--backquote-markers-and-strings'." (ignore-errors (save-match-data ; `scan-sexps' may modify match data. (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) "Create a marker at POS with nil `marker-insertion-type'."