]> code.delx.au - gnu-emacs-elpa/commit
[#26] Fix when default background is unspecified-fg or unspecified-bg
authorSyohei YOSHIDA <syohex@gmail.com>
Wed, 28 Oct 2015 01:27:17 +0000 (10:27 +0900)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Wed, 28 Oct 2015 07:56:42 +0000 (07:56 +0000)
commite2d9843a066593d379bf84da9bd2b0491c31a0f5
tree7b30f4ec64f6feb610d36c28bf40b58cbe9f9d9c
parent010e64bef8a9ec5539733ff0c2e92d075b25a271
[#26] Fix when default background is unspecified-fg or unspecified-bg

Default background color is unspecified-fg or unspecified-bg if emacs runs in
no-window mode(emacs -nw). '(color-values "unspecified-[fb]g")' returns nil
and beacon--color-range raises error.

Applying this patch uses fallback color instead of default background color.

Copyright-paperwork-exempt: yes
beacon.el