Variable: sgml-mode-hook

sgml-mode-hook is a customizable variable defined in sgml-mode.el.gz.

Value

(#[0 "\302\300!\210\302\301!\210\303\304\302\305!\207"
    [comment-start comment-end make-local-variable "<!--" "-->"
		   sentence-end]
    2]
 (lambda nil
  (let
      ((syntax-table (symbol-value 'sgml-mode-syntax-table))
       (keymap (symbol-value 'sgml-mode-map)))
    (modify-syntax-entry 123 "(}" syntax-table)
    (modify-syntax-entry 125 "){" syntax-table)
    (modify-syntax-entry 34 "\"" syntax-table)
    (modify-syntax-entry 61 "." syntax-table)
    (modify-syntax-entry 46 "_" syntax-table)
    (setq sentence-end
	  "\\([^        \n
>]<\\|>\\(<[^>]*>\\)*\\|[.?!][]\"')}]*\\($\\| $\\|	\\|  \\)\\)[    \n]*")
    (define-key keymap "." 'hui-select-goto-matching-tag))))

Documentation

Hook run by command sgml-mode.

text-mode-hook is run first.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/sgml-mode.el.gz
(defcustom sgml-mode-hook nil
  "Hook run by command `sgml-mode'.
`text-mode-hook' is run first."
  :type 'hook)