diff options
| author | Richard M. Stallman | 1997-07-04 04:41:46 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-07-04 04:41:46 +0000 |
| commit | 822eddf41c060ea6db6887cccc42c21a8c5a7992 (patch) | |
| tree | 757b70e04931adc4924df09500ce9ebac549e920 | |
| parent | 12ddbaa90e479baa3bddc362925e6ae6fc3255df (diff) | |
| download | emacs-822eddf41c060ea6db6887cccc42c21a8c5a7992.tar.gz emacs-822eddf41c060ea6db6887cccc42c21a8c5a7992.zip | |
(tex-common-initialization):
Set search-whitespace-regexp locally.
| -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 | |||
| 666 | (modify-syntax-entry ?~ " ") | 666 | (modify-syntax-entry ?~ " ") |
| 667 | (modify-syntax-entry ?' "w")) | 667 | (modify-syntax-entry ?' "w")) |
| 668 | (set-syntax-table tex-mode-syntax-table)) | 668 | (set-syntax-table tex-mode-syntax-table)) |
| 669 | ;; Regexp isearch should accept newline and formfeed as whitespace. | ||
| 670 | (make-local-variable 'search-whitespace-regexp) | ||
| 671 | (setq search-whitespace-regexp "[ \t\r\n\f]+") | ||
| 669 | (make-local-variable 'paragraph-start) | 672 | (make-local-variable 'paragraph-start) |
| 670 | ;; A line containing just $$ is treated as a paragraph separator. | 673 | ;; A line containing just $$ is treated as a paragraph separator. |
| 671 | (setq paragraph-start "[ \t]*$\\|[\f\\\\%]\\|[ \t]*\\$\\$") | 674 | (setq paragraph-start "[ \t]*$\\|[\f\\\\%]\\|[ \t]*\\$\\$") |