Mercurial > emacs
changeset 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 | 41f11018aeb5 |
children | 09b7ce0e90fa |
files | lisp/textmodes/tex-mode.el |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
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]*\\$\\$")