aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorStefan Monnier2015-11-21 22:05:28 -0500
committerStefan Monnier2015-11-21 22:05:28 -0500
commit702d76dbee8447f56d01009142983f09e7507d6f (patch)
treec4bb2e544ae9e87ff14f1254d64537b92868384b /test
parent8e84823f3f06714d0668060d62456cf7e3100e6c (diff)
downloademacs-702d76dbee8447f56d01009142983f09e7507d6f.tar.gz
emacs-702d76dbee8447f56d01009142983f09e7507d6f.zip
Unrevert most of regexp reentrancy abort patch
The problem was in: * src/syntax.c (update_syntax_table_forward): Propertize even when truncated which is hence not unreverted. The rest is: * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST): (UPDATE_SYNTAX_TABLE_FAST): Re-introduce. All callers in regex.c changed back to the _FAST versions. * test/automated/message-mode-tests.el: Tweak the test to rely on auto propertization in backward-sexp.
Diffstat (limited to 'test')
-rw-r--r--test/automated/message-mode-tests.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/automated/message-mode-tests.el b/test/automated/message-mode-tests.el
index 49a72b0e67a..790b5c15125 100644
--- a/test/automated/message-mode-tests.el
+++ b/test/automated/message-mode-tests.el
@@ -40,9 +40,9 @@
40 "and here's a closer ") 40 "and here's a closer ")
41 (let ((last-command-event ?\))) 41 (let ((last-command-event ?\)))
42 (ert-simulate-command '(self-insert-command 1))) 42 (ert-simulate-command '(self-insert-command 1)))
43 ;; Syntax propertization doesn't kick in batch mode 43 ;; Auto syntax propertization doesn't kick in until
44 (when noninteractive 44 ;; parse-sexp-lookup-properties is set.
45 (syntax-propertize (point-max))) 45 (setq-local parse-sexp-lookup-properties t)
46 (backward-sexp) 46 (backward-sexp)
47 (should (string= "here's an opener " 47 (should (string= "here's an opener "
48 (buffer-substring-no-properties 48 (buffer-substring-no-properties