diff options
author | Richard M. Stallman <[email protected]> | 1997-08-22 21:59:21 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 1997-08-22 21:59:21 +0000 |
commit | e45502331b9c4073da3cc77418676798d32c59fe (patch) | |
tree | 41307075a970eba422020dc78c68cccdc857dd23 /lisp/textmodes/nroff-mode.el | |
parent | 2790bdd8c8d0d4db4e112ff883b4e80c6b53b321 (diff) |
Customized.
Diffstat (limited to 'lisp/textmodes/nroff-mode.el')
-rw-r--r-- | lisp/textmodes/nroff-mode.el | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/lisp/textmodes/nroff-mode.el b/lisp/textmodes/nroff-mode.el index 0e9182ada0..a44f797098 100644 --- a/lisp/textmodes/nroff-mode.el +++ b/lisp/textmodes/nroff-mode.el @@ -35,12 +35,19 @@ ;;; Code: +(defgroup nroff nil + "Nroff mode." + :group 'editing + :prefix "nroff-") + (defvar nroff-mode-abbrev-table nil "Abbrev table used while in nroff mode.") (define-abbrev-table 'nroff-mode-abbrev-table ()) -(defvar nroff-electric-mode nil - "*Non-nil means automatically closing requests when you insert an open.") +(defcustom nroff-electric-mode nil + "*Non-nil means automatically closing requests when you insert an open." + :group 'nroff + :type 'boolean) (defvar nroff-mode-map nil "Major mode keymap for nroff mode.") @@ -57,7 +64,7 @@ (defvar nroff-mode-syntax-table nil "Syntax table used while in nroff mode.") -(defvar nroff-font-lock-keywords +(defcustom nroff-font-lock-keywords (list ;; Directives are . or ' at start of line, followed by ;; optional whitespace, then command (which my be longer than @@ -78,7 +85,9 @@ ) "\\|") "\\)") ) - "Font-lock highlighting control in nroff-mode.") + "Font-lock highlighting control in nroff-mode." + :group 'nroff + :type '(repeat regexp)) ;;;###autoload (defun nroff-mode () |