Function: sgml-name-8bit-mode

sgml-name-8bit-mode is an interactive and byte-compiled function defined in sgml-mode.el.gz.

Signature

(sgml-name-8bit-mode)

Documentation

Toggle whether to insert named entities instead of non-ASCII characters.

This only works for Latin-1 input.

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/sgml-mode.el.gz
(defun sgml-name-8bit-mode ()
  "Toggle whether to insert named entities instead of non-ASCII characters.
This only works for Latin-1 input."
  (interactive)
  (setq sgml-name-8bit-mode (not sgml-name-8bit-mode))
  (message "sgml name entity mode is now %s"
	   (if sgml-name-8bit-mode "ON" "OFF")))