]> code.delx.au - gnu-emacs/blobdiff - test/lisp/gnus/message-tests.el
Merge emacs-25 into master (using imerge)
[gnu-emacs] / test / lisp / gnus / message-tests.el
index 49a72b0e67a682d1410ebd2e8899935a12319beb..790b5c15125850a160218dcf1810f6b6cd9f7657 100644 (file)
@@ -40,9 +40,9 @@
                   "and here's a closer ")
           (let ((last-command-event ?\)))
             (ert-simulate-command '(self-insert-command 1)))
-          ;; Syntax propertization doesn't kick in batch mode
-          (when noninteractive
-            (syntax-propertize (point-max)))
+          ;; Auto syntax propertization doesn't kick in until
+          ;; parse-sexp-lookup-properties is set.
+          (setq-local parse-sexp-lookup-properties t)
           (backward-sexp)
           (should (string= "here's an opener "
                            (buffer-substring-no-properties