Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e6297e7d
Commit
e6297e7d
authored
Feb 05, 2001
by
Eli Zaretskii
Browse files
(nroff-mode): Set the SYNTAX-BEGIN part
of font-lock-defaults to backward-paragraph.
parent
e89aaabd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/textmodes/nroff-mode.el
lisp/textmodes/nroff-mode.el
+5
-1
No files found.
lisp/ChangeLog
View file @
e6297e7d
2001-02-05 Eli Zaretskii <eliz@is.elta.co.il>
* textmodes/nroff-mode.el (nroff-mode): Set the SYNTAX-BEGIN part
of font-lock-defaults to backward-paragraph.
2001-02-05 Gerd Moellmann <gerd@gnu.org>
2001-02-05 Gerd Moellmann <gerd@gnu.org>
* mail/rmail.el (rmail-ignored-headers): Add X-Trace,
* mail/rmail.el (rmail-ignored-headers): Add X-Trace,
...
...
lisp/textmodes/nroff-mode.el
View file @
e6297e7d
...
@@ -113,7 +113,11 @@ closing requests for requests that are used in matched pairs."
...
@@ -113,7 +113,11 @@ closing requests for requests that are used in matched pairs."
(
modify-syntax-entry
?\n
"> 1"
nroff-mode-syntax-table
))
(
modify-syntax-entry
?\n
"> 1"
nroff-mode-syntax-table
))
(
set-syntax-table
nroff-mode-syntax-table
)
(
set-syntax-table
nroff-mode-syntax-table
)
(
make-local-variable
'font-lock-defaults
)
(
make-local-variable
'font-lock-defaults
)
(
setq
font-lock-defaults
'
(
nroff-font-lock-keywords
nil
t
))
(
setq
font-lock-defaults
;; SYNTAX-BEGIN is set to backward-paragraph to avoid slow-down
;; near the end of large buffers due to searching to buffer's
;; beginning.
'
(
nroff-font-lock-keywords
nil
t
nil
backward-paragraph
))
(
setq
local-abbrev-table
nroff-mode-abbrev-table
)
(
setq
local-abbrev-table
nroff-mode-abbrev-table
)
(
make-local-variable
'nroff-electric-mode
)
(
make-local-variable
'nroff-electric-mode
)
(
setq
nroff-electric-mode
nil
)
(
setq
nroff-electric-mode
nil
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment