Mercurial > emacs
comparison lisp/autoinsert.el @ 14153:3e949d37e46f
(auto-insert-alist): For html-mode, use `sgml-tag'.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 12 Jan 1996 05:54:33 +0000 |
parents | 8bb3424bf745 |
children | 83f275dcd93a |
comparison
equal
deleted
inserted
replaced
14152:9c9debb5950f | 14153:3e949d37e46f |
---|---|
84 (file-name-nondirectory (c-companion-file 'name))) & ?\" | 84 (file-name-nondirectory (c-companion-file 'name))) & ?\" |
85 | -10) | 85 | -10) |
86 | 86 |
87 ("[Mm]akefile\\'" . "makefile.inc") | 87 ("[Mm]akefile\\'" . "makefile.inc") |
88 | 88 |
89 ("\\.html\\'" | 89 (html-mode . (lambda () (sgml-tag "html"))) |
90 nil | |
91 "<html>\n" | |
92 "<head>\n" | |
93 "<title>" _ "</title>\n" | |
94 "</head>\n" | |
95 "<body>\n\n" | |
96 "</body>\n" | |
97 "</html>") | |
98 | 90 |
99 (plain-tex-mode . "tex-insert.tex") | 91 (plain-tex-mode . "tex-insert.tex") |
100 (bibtex-mode . "tex-insert.tex") | 92 (bibtex-mode . "tex-insert.tex") |
101 (latex-mode | 93 (latex-mode |
102 ;; should try to offer completing read for these | 94 ;; should try to offer completing read for these |