diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-07-04 04:41:46 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-07-04 04:41:46 +0000 |
commit | 2a90de0bf8a6538b8e8df01b5a7242a28498a8d1 (patch) | |
tree | 8210c097e50cf14f4694bab15678fc54520fa0a6 /lisp/textmodes/tex-mode.el | |
parent | a58324b28a40d3e955f57dc482bf2d98954b1088 (diff) | |
download | emacs-2a90de0bf8a6538b8e8df01b5a7242a28498a8d1.tar.gz |
(tex-common-initialization):
Set search-whitespace-regexp locally.
Diffstat (limited to 'lisp/textmodes/tex-mode.el')
-rw-r--r-- | lisp/textmodes/tex-mode.el | 3 |
1 files changed, 3 insertions, 0 deletions
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]*\\$\\$") |