]> code.delx.au - gnu-emacs-elpa/commitdiff
* packages/rainbow-mode/rainbow-mode.el (ansi-color-context)
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 15 Oct 2014 20:26:40 +0000 (16:26 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 15 Oct 2014 20:26:40 +0000 (16:26 -0400)
(xterm-color-current): Declare.

packages/rainbow-mode/rainbow-mode.el

index 0e95a0dadf564738760dc71f7f6c181b322732a7..55bec4a9c22f3d094051d3db3bc95ebb42269fcf 100644 (file)
@@ -1050,6 +1050,9 @@ If the percentage value is above 100, it's converted to 100."
         (b (* (string-to-number (match-string-no-properties 3)) 255.0)))
     (rainbow-colorize-match (format "#%02X%02X%02X" r g b))))
 
+(defvar ansi-color-context)
+(defvar xterm-color-current)
+
 (defun rainbow-colorize-ansi ()
   "Return a matched string propertized with ansi color face."
   (let ((xterm-color? (featurep 'xterm-color))