branch: master
commit 0353da8dd7f78179a721f42cec4df8c23f0908f2
Author: Artur Malabarba <bruce.connor...@gmail.com>
Commit: Artur Malabarba <bruce.connor...@gmail.com>

    Try again to fix the case of no bg color
---
 beacon.el |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/beacon.el b/beacon.el
index c0bb43f..4d4e58b 100644
--- a/beacon.el
+++ b/beacon.el
@@ -262,7 +262,8 @@ Only returns `beacon-size' elements."
                                (forward-char -1)))
                            (background-color-at-point))
                          (face-background 'default)))
-         (bg (color-values (if (string-match "\\`unspecified-" default-bg)
+         (bg (color-values (if (or (not (stringp default-bg))
+                                   (string-match "\\`unspecified-" default-bg))
                                (face-attribute 'beacon-fallback-background 
:background)
                              default-bg)))
          (fg (cond

Reply via email to