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
0cf452f3
Commit
0cf452f3
authored
Sep 14, 1999
by
Eli Zaretskii
Browse files
(texinfo-font-lock-keywords): Add uref, command, option, env and sc.
parent
8ee75d03
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lisp/textmodes/texinfo.el
lisp/textmodes/texinfo.el
+3
-3
No files found.
lisp/textmodes/texinfo.el
View file @
0cf452f3
...
...
@@ -291,11 +291,11 @@ chapter."
;;("\\$\\([^$]*\\)\\$" 1 font-lock-string-face t)
(
"@\\([a-zA-Z]+\\|[^ \t\n]\\)"
1
font-lock-keyword-face
)
;commands
(
"^\\*\\(.*\\)[\t ]*$"
1
font-lock-function-name-face
t
)
;menu items
(
"@\\(emph\\|strong\\|b\\|i\\){\\([^}]+\\)"
2
font-lock-comment-face
)
(
"@\\(emph\\|strong\\|b\\|i\\
|sc\\
){\\([^}]+\\)"
2
font-lock-comment-face
)
(
"@\\(file\\|kbd\\|key\\|url\\|email\\){\\([^}]+\\)"
2
font-lock-string-face
)
(
"@\\(samp\\|code\\|var\\|math\\){\\([^}]+\\)"
(
"@\\(samp\\|code\\|var\\|math\\
|env\\|command\\|option\\
){\\([^}]+\\)"
2
font-lock-variable-name-face
)
(
"@\\(cite\\|
x
?ref\\|pxref\\){\\([^}]+\\)"
2
font-lock-constant-face
)
(
"@\\(cite\\|
[ux]
?ref\\|pxref\\){\\([^}]+\\)"
2
font-lock-constant-face
)
(
"@\\(end\\|itemx?\\) +\\(.+\\)"
2
font-lock-function-name-face
keep
)
)
"Additional expressions to highlight in TeXinfo mode."
)
...
...
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