;; Author: Julien Danjou <julien@danjou.info>
;; Keywords: faces
-;; Version: 0.4
+;; Version: 0.5
;; This file is part of GNU Emacs.
(0 (rainbow-colorize-itself)))
("[Rr][Gg][Bb][Ii]:[0-9.]+/[0-9.]+/[0-9.]+"
(0 (rainbow-colorize-itself)))
- ("\\(?:[Cc][Ii][Ee]\\(?:[Xx][Yy][Zz]\\|[Uu][Vv][Yy]\\|[Xx][Yy][Yy]\\|[Ll][Aa][Bb]\\|[Ll][Uu][Vv]\\)\\|[Tt][Ee][Kk][Hh][Vv][Cc]\\):[+-]?[0-9.]+\\(?:[Ee][+-]?[0-9]+\\)?/[+-]?[0-9.]+\\(?:[Ee][+-]?[0-9]+\\)?/[+-]?[0-9.]+\\(?:[Ee][+-]?[0-9]+\\)?")
- (0 (rainbow-colorize-itself)))
+ ("\\(?:[Cc][Ii][Ee]\\(?:[Xx][Yy][Zz]\\|[Uu][Vv][Yy]\\|[Xx][Yy][Yy]\\|[Ll][Aa][Bb]\\|[Ll][Uu][Vv]\\)\\|[Tt][Ee][Kk][Hh][Vv][Cc]\\):[+-]?[0-9.]+\\(?:[Ee][+-]?[0-9]+\\)?/[+-]?[0-9.]+\\(?:[Ee][+-]?[0-9]+\\)?/[+-]?[0-9.]+\\(?:[Ee][+-]?[0-9]+\\)?"
+ (0 (rainbow-colorize-itself))))
"Font-lock keywords to add for hexadecimal colors.")
;; rgb() colors
(0 (rainbow-colorize-rgb)))
("{HTML}{\\([0-9A-Fa-f]\\{6\\}\\)}"
(0 (rainbow-colorize-hexadecimal-without-sharp))))
- "Font-lock keywords to add for X colors.")
+ "Font-lock keywords to add for LaTeX colors.")
(defcustom rainbow-latex-colors-major-mode-list
'(latex-mode)
- "List of major mode where X colors are enabled when
+ "List of major mode where LaTeX colors are enabled when
`rainbow-x-colors' is set to auto."
:group 'rainbow)
(defcustom rainbow-latex-colors 'auto
"When to enable LaTeX colors.
If set to t, the LaTeX colors will be enabled. If set to nil, the
-X colors will not be enabled. If set to auto, the LaTeX colors
+LaTeX colors will not be enabled. If set to auto, the LaTeX colors
will be enabled if a major mode has been detected from the
`rainbow-latex-colors-major-mode-list'."
:group 'rainbow)