summaryrefslogtreecommitdiff
path: root/lisp/textmodes/nroff-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/textmodes/nroff-mode.el')
-rw-r--r--lisp/textmodes/nroff-mode.el9
1 files changed, 3 insertions, 6 deletions
diff --git a/lisp/textmodes/nroff-mode.el b/lisp/textmodes/nroff-mode.el
index 896578513cf..fe70e925b05 100644
--- a/lisp/textmodes/nroff-mode.el
+++ b/lisp/textmodes/nroff-mode.el
@@ -1,4 +1,4 @@
-;;; nroff-mode.el --- GNU Emacs major mode for editing nroff source
+;;; nroff-mode.el --- GNU Emacs major mode for editing nroff source -*- lexical-binding: t -*-
;; Copyright (C) 1985-1986, 1994-1995, 1997, 2001-2021 Free Software
;; Foundation, Inc.
@@ -43,7 +43,6 @@
(defcustom nroff-electric-mode nil
"Non-nil means automatically closing requests when you insert an open."
- :group 'nroff
:type 'boolean)
(defvar nroff-mode-map
@@ -111,7 +110,7 @@
;; arguments in common cases, like \f.
(concat "\\\\" ; backslash
"\\(" ; followed by various possibilities
- (mapconcat 'identity
+ (mapconcat #'identity
'("[f*n]*\\[.+?]" ; some groff extensions
"(.." ; two chars after (
"[^(\"#]" ; single char escape
@@ -119,13 +118,11 @@
"\\)")
)
"Font-lock highlighting control in `nroff-mode'."
- :group 'nroff
:type '(repeat regexp))
(defcustom nroff-mode-hook nil
"Hook run by function `nroff-mode'."
- :type 'hook
- :group 'nroff)
+ :type 'hook)
;;;###autoload
(define-derived-mode nroff-mode text-mode "Nroff"