aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii1999-09-14 10:15:51 +0000
committerEli Zaretskii1999-09-14 10:15:51 +0000
commit0cf452f333d9f71b1d0ef13f39b7503a4170fdea (patch)
tree7afb4683729b45dea5201f6afd2755763174e765
parent8ee75d0316e120092505c76fea9a706348667b2e (diff)
downloademacs-0cf452f333d9f71b1d0ef13f39b7503a4170fdea.tar.gz
emacs-0cf452f333d9f71b1d0ef13f39b7503a4170fdea.zip
(texinfo-font-lock-keywords): Add uref, command, option, env and sc.
-rw-r--r--lisp/textmodes/texinfo.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el
index 165a575ac43..385dd0c9d71 100644
--- a/lisp/textmodes/texinfo.el
+++ b/lisp/textmodes/texinfo.el
@@ -291,11 +291,11 @@ chapter."
291 ;;("\\$\\([^$]*\\)\\$" 1 font-lock-string-face t) 291 ;;("\\$\\([^$]*\\)\\$" 1 font-lock-string-face t)
292 ("@\\([a-zA-Z]+\\|[^ \t\n]\\)" 1 font-lock-keyword-face) ;commands 292 ("@\\([a-zA-Z]+\\|[^ \t\n]\\)" 1 font-lock-keyword-face) ;commands
293 ("^\\*\\(.*\\)[\t ]*$" 1 font-lock-function-name-face t) ;menu items 293 ("^\\*\\(.*\\)[\t ]*$" 1 font-lock-function-name-face t) ;menu items
294 ("@\\(emph\\|strong\\|b\\|i\\){\\([^}]+\\)" 2 font-lock-comment-face) 294 ("@\\(emph\\|strong\\|b\\|i\\|sc\\){\\([^}]+\\)" 2 font-lock-comment-face)
295 ("@\\(file\\|kbd\\|key\\|url\\|email\\){\\([^}]+\\)" 2 font-lock-string-face) 295 ("@\\(file\\|kbd\\|key\\|url\\|email\\){\\([^}]+\\)" 2 font-lock-string-face)
296 ("@\\(samp\\|code\\|var\\|math\\){\\([^}]+\\)" 296 ("@\\(samp\\|code\\|var\\|math\\|env\\|command\\|option\\){\\([^}]+\\)"
297 2 font-lock-variable-name-face) 297 2 font-lock-variable-name-face)
298 ("@\\(cite\\|x?ref\\|pxref\\){\\([^}]+\\)" 2 font-lock-constant-face) 298 ("@\\(cite\\|[ux]?ref\\|pxref\\){\\([^}]+\\)" 2 font-lock-constant-face)
299 ("@\\(end\\|itemx?\\) +\\(.+\\)" 2 font-lock-function-name-face keep) 299 ("@\\(end\\|itemx?\\) +\\(.+\\)" 2 font-lock-function-name-face keep)
300 ) 300 )
301 "Additional expressions to highlight in TeXinfo mode.") 301 "Additional expressions to highlight in TeXinfo mode.")