diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2020-04-18 23:01:43 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2020-04-18 23:01:43 -0400 |
commit | d5ec18c66bdefb492826eab0d60e818d5bac7238 (patch) | |
tree | 9780090841d914e6ac09e091a10004bc2147a574 /src/syntax.c | |
parent | 4df8a6111710a68197451879f2a966ae34a90db8 (diff) | |
download | emacs-d5ec18c66bdefb492826eab0d60e818d5bac7238.tar.gz emacs-d5ec18c66bdefb492826eab0d60e818d5bac7238.tar.bz2 emacs-d5ec18c66bdefb492826eab0d60e818d5bac7238.zip |
* src/regex-emacs.c (re_match_2_internal): Rework comment in last change
Explain why we don't need to worry about Lisp modifying the buffer.
* src/syntax.c (parse_sexp_propertize): Fix name in error message.
Diffstat (limited to 'src/syntax.c')
-rw-r--r-- | src/syntax.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/syntax.c b/src/syntax.c index e24b98da32a..a79ab863367 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -480,10 +480,10 @@ parse_sexp_propertize (ptrdiff_t charpos) safe_call1 (Qinternal__syntax_propertize, make_fixnum (min (zv, 1 + charpos))); if (modiffs != CHARS_MODIFF) - error ("parse-sexp-propertize-function modified the buffer!"); + error ("internal--syntax-propertize modified the buffer!"); if (syntax_propertize__done <= charpos && syntax_propertize__done < zv) - error ("parse-sexp-propertize-function did not move" + error ("internal--syntax-propertize did not move" " syntax-propertize--done"); SETUP_SYNTAX_TABLE (charpos, 1); } |