Mercurial > emacs
comparison lisp/textmodes/sgml-mode.el @ 23652:42bf6553a2e9
(html-mode): Doc fix.
(sgml-name-8bit-mode): Fix missing format character in message
string.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Fri, 06 Nov 1998 09:31:52 +0000 |
parents | 3dc5c3a4f1f8 |
children | ca83df619ee6 |
comparison
equal
deleted
inserted
replaced
23651:dcd6688d67be | 23652:42bf6553a2e9 |
---|---|
479 | 479 |
480 (defun sgml-name-8bit-mode () | 480 (defun sgml-name-8bit-mode () |
481 "Toggle insertion of 8 bit characters." | 481 "Toggle insertion of 8 bit characters." |
482 (interactive) | 482 (interactive) |
483 (setq sgml-name-8bit-mode (not sgml-name-8bit-mode)) | 483 (setq sgml-name-8bit-mode (not sgml-name-8bit-mode)) |
484 (message "sgml name 8 bit mode is now %" | 484 (message "sgml name 8 bit mode is now %s" |
485 (if sgml-name-8bit-mode "ON" "OFF"))) | 485 (if sgml-name-8bit-mode "ON" "OFF"))) |
486 | 486 |
487 | 487 |
488 ;; When an element of a skeleton is a string "str", it is passed | 488 ;; When an element of a skeleton is a string "str", it is passed |
489 ;; through skeleton-transformation and inserted. If "str" is to be | 489 ;; through skeleton-transformation and inserted. If "str" is to be |
1142 "*Value of `sgml-tag-help' for HTML mode.") | 1142 "*Value of `sgml-tag-help' for HTML mode.") |
1143 | 1143 |
1144 ;;;###autoload | 1144 ;;;###autoload |
1145 (defun html-mode () | 1145 (defun html-mode () |
1146 "Major mode based on SGML mode for editing HTML documents. | 1146 "Major mode based on SGML mode for editing HTML documents. |
1147 This allows inserting skeleton costructs used in hypertext documents with | 1147 This allows inserting skeleton constructs used in hypertext documents with |
1148 completion. See below for an introduction to HTML. Use | 1148 completion. See below for an introduction to HTML. Use |
1149 \\[browse-url-of-buffer] to see how this comes out. See also `sgml-mode' on | 1149 \\[browse-url-of-buffer] to see how this comes out. See also `sgml-mode' on |
1150 which this is based. | 1150 which this is based. |
1151 | 1151 |
1152 Do \\[describe-variable] html- SPC and \\[describe-variable] sgml- SPC to see available variables. | 1152 Do \\[describe-variable] html- SPC and \\[describe-variable] sgml- SPC to see available variables. |