From: Richard M. Stallman Date: Fri, 4 Jul 1997 04:41:46 +0000 (+0000) Subject: (tex-common-initialization): X-Git-Tag: emacs-20.1~1359 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=822eddf41c060ea6db6887cccc42c21a8c5a7992;p=emacs.git (tex-common-initialization): Set search-whitespace-regexp locally. --- diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index 6ca1447a9f9..606205404e9 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el @@ -666,6 +666,9 @@ Entering SliTeX mode runs the hook `text-mode-hook', then the hook (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]*\\$\\$")