branch: externals/spacious-padding
commit 7272237a5d78770130efced6eb6e7ccd6685b16e
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Make spacious-padding-set-face-box-padding use 'unspecified instead of nil
background
---
spacious-padding.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/spacious-padding.el b/spacious-padding.el
index c4b7ba6a27..3e0630a726 100644
--- a/spacious-padding.el
+++ b/spacious-padding.el
@@ -323,7 +323,7 @@ With optional SUBTLE-KEY, read its value from the
`spacious-padding-subtle-frame-lines' and apply it to FACE as an
overline."
(when (facep face)
- (let* ((original-bg (face-background face nil fallback))
+ (let* ((original-bg (or (face-background face nil fallback) 'unspecified))
(subtle-bg (face-background 'default))
(subtlep (and subtle-key spacious-padding-subtle-frame-lines))
(bg (if subtlep subtle-bg original-bg))