1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

*** empty log message ***

This commit is contained in:
Roland McGrath 1991-05-09 21:50:34 +00:00
parent d6003f63e9
commit 7229064dbf
16 changed files with 68 additions and 18 deletions

View file

@ -140,6 +140,7 @@ Set by \\[tex-region], \\[tex-buffer], and \\[tex-file].")
;;; This would be a lot simpler if we just used a regexp search,
;;; but then it would be too slow.
;;;###autoload
(defun tex-mode ()
"Major mode for editing files of input for TeX, LaTeX, or SliTeX.
Tries to determine (by looking at the beginning of the file) whether
@ -164,10 +165,10 @@ is used."
'plain-tex-mode))))
(if mode (funcall mode)
(funcall tex-default-mode))))
;;;###autoload (fset 'TeX-mode 'tex-mode)
;;;###autoload (fset 'LaTeX-mode 'latex-mode)
(fset 'plain-TeX-mode 'plain-tex-mode)
(fset 'LaTeX-mode 'latex-mode)
;;;###autoload
(defun plain-tex-mode ()
"Major mode for editing files of input for plain TeX.
Makes $ and } display the characters they match.
@ -214,7 +215,9 @@ subshell is initiated, the value of tex-shell-hook is called."
(setq tex-end-of-header "%**end of header")
(setq tex-trailer "\\bye\n")
(run-hooks 'text-mode-hook 'tex-mode-hook 'plain-tex-mode-hook))
;;;###autoload (fset 'plain-TeX-mode 'plain-tex-mode)
;;;###autoload
(defun latex-mode ()
"Major mode for editing files of input for LaTeX.
Makes $ and } display the characters they match.