diff lisp/textmodes/tex-mode.el @ 18587:3290767e31d8

(tex-common-initialization): Set search-whitespace-regexp locally.
author Richard M. Stallman <rms@gnu.org>
date Fri, 04 Jul 1997 04:41:46 +0000
parents f34e9defc58c
children 43b52e6a35c2
line wrap: on
line diff
--- a/lisp/textmodes/tex-mode.el	Fri Jul 04 02:01:53 1997 +0000
+++ b/lisp/textmodes/tex-mode.el	Fri Jul 04 04:41:46 1997 +0000
@@ -666,6 +666,9 @@
 	(modify-syntax-entry ?~ " ")
 	(modify-syntax-entry ?' "w"))
     (set-syntax-table tex-mode-syntax-table))
+  ;; Regexp isearch should accept newline and formfeed as whitespace.
+  (make-local-variable 'search-whitespace-regexp)
+  (setq search-whitespace-regexp "[ \t\r\n\f]+")
   (make-local-variable 'paragraph-start)
   ;; A line containing just $$ is treated as a paragraph separator.
   (setq paragraph-start "[ \t]*$\\|[\f\\\\%]\\|[ \t]*\\$\\$")