aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Goldowsky1995-03-02 15:52:37 +0000
committerBoris Goldowsky1995-03-02 15:52:37 +0000
commit022028393779c8e7908c3c611b47b41b277ccc13 (patch)
treef14c0b3b68e8bd67e084e700951f4ad032f686ef
parent6e9f6940cc93c9ef9e3a8fded5b54d519d177910 (diff)
downloademacs-022028393779c8e7908c3c611b47b41b277ccc13.tar.gz
emacs-022028393779c8e7908c3c611b47b41b277ccc13.zip
(tex-common-initialization, latex-mode, slitex-mode): Remove ^ from
paragraph-start & paragraph-separate.
-rw-r--r--lisp/textmodes/tex-mode.el76
1 files changed, 38 insertions, 38 deletions
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index 495576b8e1c..2f399aaf99a 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -383,24 +383,24 @@ subshell is initiated, `tex-shell-hook' is run."
383 ;; A line containing just $$ is treated as a paragraph separator. 383 ;; A line containing just $$ is treated as a paragraph separator.
384 ;; A line starting with $$ starts a paragraph, 384 ;; A line starting with $$ starts a paragraph,
385 ;; but does not separate paragraphs if it has more stuff on it. 385 ;; but does not separate paragraphs if it has more stuff on it.
386 (setq paragraph-start "^[ \t]*$\\|^[\f%]\\|^[ \t]*\\$\\$\\|\ 386 (setq paragraph-start "[ \t]*$\\|[\f%]\\|[ \t]*\\$\\$\\|\
387^\\\\begin\\>\\|^\\\\label\\>\\|^\\\\end\\>\\|^\\\\\\[\\|^\\\\\\]\\|\ 387\\\\begin\\>\\|\\\\label\\>\\|\\\\end\\>\\|\\\\\\[\\|\\\\\\]\\|\
388^\\\\chapter\\>\\|^\\\\section\\>\\|\ 388\\\\chapter\\>\\|\\\\section\\>\\|\
389^\\\\subsection\\>\\|^\\\\subsubsection\\>\\|\ 389\\\\subsection\\>\\|\\\\subsubsection\\>\\|\
390^\\\\paragraph\\>\\|^\\\\subparagraph\\>\\|\ 390\\\\paragraph\\>\\|\\\\subparagraph\\>\\|\
391^\\\\item\\>\\|^\\\\bibitem\\>\\|^\\\\newline\\>\\|^\\\\noindent\\>\\|\ 391\\\\item\\>\\|\\\\bibitem\\>\\|\\\\newline\\>\\|\\\\noindent\\>\\|\
392^\\\\[a-z]*space\\>\\|^\\\\[a-z]*skip\\>\\|\ 392\\\\[a-z]*space\\>\\|\\\\[a-z]*skip\\>\\|\
393^\\\\newpage\\>\\|^\\\\[a-z]*page\\|^\\\\footnote\\>\\|\ 393\\\\newpage\\>\\|\\\\[a-z]*page\\|\\\\footnote\\>\\|\
394^\\\\marginpar\\>\\|^\\\\parbox\\>\\|^\\\\caption\\>") 394\\\\marginpar\\>\\|\\\\parbox\\>\\|\\\\caption\\>")
395 (setq paragraph-separate "^[ \t]*$\\|^[\f%]\\|^[ \t]*\\$\\$[ \t]*$\\|\ 395 (setq paragraph-separate "[ \t]*$\\|[\f%]\\|[ \t]*\\$\\$[ \t]*$\\|\
396^\\\\begin\\>\\|^\\\\label\\>\\|^\\\\end\\>\\|^\\\\\\[\\|^\\\\\\]\\|\ 396\\\\begin\\>\\|\\\\label\\>\\|\\\\end\\>\\|\\\\\\[\\|\\\\\\]\\|\
397^\\\\chapter\\>\\|^\\\\section\\>\\|\ 397\\\\chapter\\>\\|\\\\section\\>\\|\
398^\\\\subsection\\>\\|^\\\\subsubsection\\>\\|\ 398\\\\subsection\\>\\|\\\\subsubsection\\>\\|\
399^\\\\paragraph\\>\\|^\\\\subparagraph\\>\\|\ 399\\\\paragraph\\>\\|\\\\subparagraph\\>\\|\
400\\(^\\\\item\\|^\\\\bibitem\\|^\\\\newline\\|^\\\\noindent\\|\ 400\\(\\\\item\\|\\\\bibitem\\|\\\\newline\\|\\\\noindent\\|\
401^\\\\[a-z]*space\\|^\\\\[a-z]*skip\\|\ 401\\\\[a-z]*space\\|\\\\[a-z]*skip\\|\
402^\\\\newpage\\|^\\\\[a-z]*page[a-z]*\\|^\\\\footnote\\|\ 402\\\\newpage\\|\\\\[a-z]*page[a-z]*\\|\\\\footnote\\|\
403^\\\\marginpar\\|^\\\\parbox\\|^\\\\caption\\)[ \t]*\\($\\|%\\)") 403\\\\marginpar\\|\\\\parbox\\|\\\\caption\\)[ \t]*\\($\\|%\\)")
404 (run-hooks 'text-mode-hook 'tex-mode-hook 'latex-mode-hook)) 404 (run-hooks 'text-mode-hook 'tex-mode-hook 'latex-mode-hook))
405 405
406;;;###autoload 406;;;###autoload
@@ -456,24 +456,24 @@ Entering SliTeX mode runs the hook `text-mode-hook', then the hook
456 ;; A line containing just $$ is treated as a paragraph separator. 456 ;; A line containing just $$ is treated as a paragraph separator.
457 ;; A line starting with $$ starts a paragraph, 457 ;; A line starting with $$ starts a paragraph,
458 ;; but does not separate paragraphs if it has more stuff on it. 458 ;; but does not separate paragraphs if it has more stuff on it.
459 (setq paragraph-start "^[ \t]*$\\|^[\f%]\\|^[ \t]*\\$\\$\\|\ 459 (setq paragraph-start "[ \t]*$\\|[\f%]\\|[ \t]*\\$\\$\\|\
460^\\\\begin\\>\\|^\\\\label\\>\\|^\\\\end\\>\\|^\\\\\\[\\|^\\\\\\]\\|\ 460\\\\begin\\>\\|\\\\label\\>\\|\\\\end\\>\\|\\\\\\[\\|\\\\\\]\\|\
461^\\\\chapter\\>\\|^\\\\section\\>\\|\ 461\\\\chapter\\>\\|\\\\section\\>\\|\
462^\\\\subsection\\>\\|^\\\\subsubsection\\>\\|\ 462\\\\subsection\\>\\|\\\\subsubsection\\>\\|\
463^\\\\paragraph\\>\\|^\\\\subparagraph\\>\\|\ 463\\\\paragraph\\>\\|\\\\subparagraph\\>\\|\
464^\\\\item\\>\\|^\\\\bibitem\\>\\|^\\\\newline\\>\\|^\\\\noindent\\>\\|\ 464\\\\item\\>\\|\\\\bibitem\\>\\|\\\\newline\\>\\|\\\\noindent\\>\\|\
465^\\\\[a-z]*space\\>\\|^\\\\[a-z]*skip\\>\\|\ 465\\\\[a-z]*space\\>\\|\\\\[a-z]*skip\\>\\|\
466^\\\\newpage\\>\\|^\\\\[a-z]*page\\|^\\\\footnote\\>\\|\ 466\\\\newpage\\>\\|\\\\[a-z]*page\\|\\\\footnote\\>\\|\
467^\\\\marginpar\\>\\|^\\\\parbox\\>\\|^\\\\caption\\>") 467\\\\marginpar\\>\\|\\\\parbox\\>\\|\\\\caption\\>")
468 (setq paragraph-separate "^[ \t]*$\\|^[\f%]\\|^[ \t]*\\$\\$[ \t]*$\\|\ 468 (setq paragraph-separate "[ \t]*$\\|[\f%]\\|[ \t]*\\$\\$[ \t]*$\\|\
469^\\\\begin\\>\\|^\\\\label\\>\\|^\\\\end\\>\\|^\\\\\\[\\|^\\\\\\]\\|\ 469\\\\begin\\>\\|\\\\label\\>\\|\\\\end\\>\\|\\\\\\[\\|\\\\\\]\\|\
470^\\\\chapter\\>\\|^\\\\section\\>\\|\ 470\\\\chapter\\>\\|\\\\section\\>\\|\
471^\\\\subsection\\>\\|^\\\\subsubsection\\>\\|\ 471\\\\subsection\\>\\|\\\\subsubsection\\>\\|\
472^\\\\paragraph\\>\\|^\\\\subparagraph\\>\\|\ 472\\\\paragraph\\>\\|\\\\subparagraph\\>\\|\
473^\\\\item[ \t]*$\\|^\\\\bibitem[ \t]*$\\|^\\\\newline[ \t]*$\\|^\\\\noindent[ \t]*$\\|\ 473\\\\item[ \t]*$\\|\\\\bibitem[ \t]*$\\|\\\\newline[ \t]*$\\|\\\\noindent[ \t]*$\\|\
474^\\\\[a-z]*space[ \t]*$\\|^\\\\[a-z]*skip[ \t]*$\\|\ 474\\\\[a-z]*space[ \t]*$\\|\\\\[a-z]*skip[ \t]*$\\|\
475^\\\\newpage[ \t]*$\\|^\\\\[a-z]*page[a-z]*[ \t]*$\\|^\\\\footnote[ \t]*$\\|\ 475\\\\newpage[ \t]*$\\|\\\\[a-z]*page[a-z]*[ \t]*$\\|\\\\footnote[ \t]*$\\|\
476^\\\\marginpar[ \t]*$\\|^\\\\parbox[ \t]*$\\|^\\\\caption[ \t]*$") 476\\\\marginpar[ \t]*$\\|\\\\parbox[ \t]*$\\|\\\\caption[ \t]*$")
477 (run-hooks 477 (run-hooks
478 'text-mode-hook 'tex-mode-hook 'latex-mode-hook 'slitex-mode-hook)) 478 'text-mode-hook 'tex-mode-hook 'latex-mode-hook 'slitex-mode-hook))
479 479
@@ -504,11 +504,11 @@ Entering SliTeX mode runs the hook `text-mode-hook', then the hook
504 (set-syntax-table tex-mode-syntax-table)) 504 (set-syntax-table tex-mode-syntax-table))
505 (make-local-variable 'paragraph-start) 505 (make-local-variable 'paragraph-start)
506 ;; A line containing just $$ is treated as a paragraph separator. 506 ;; A line containing just $$ is treated as a paragraph separator.
507 (setq paragraph-start "^[ \t]*$\\|^[\f\\\\%]\\|^[ \t]*\\$\\$") 507 (setq paragraph-start "[ \t]*$\\|[\f\\\\%]\\|[ \t]*\\$\\$")
508 (make-local-variable 'paragraph-separate) 508 (make-local-variable 'paragraph-separate)
509 ;; A line starting with $$ starts a paragraph, 509 ;; A line starting with $$ starts a paragraph,
510 ;; but does not separate paragraphs if it has more stuff on it. 510 ;; but does not separate paragraphs if it has more stuff on it.
511 (setq paragraph-separate "^[ \t]*$\\|^[\f\\\\%]\\|^[ \t]*\\$\\$[ \t]*$") 511 (setq paragraph-separate "[ \t]*$\\|[\f\\\\%]\\|[ \t]*\\$\\$[ \t]*$")
512 (make-local-variable 'comment-start) 512 (make-local-variable 'comment-start)
513 (setq comment-start "%") 513 (setq comment-start "%")
514 (make-local-variable 'comment-start-skip) 514 (make-local-variable 'comment-start-skip)