branch: externals/spacious-padding commit 35927ace9a15f37f447c37c7225a2ab263fc6bff Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Tweak the parameters of spacious-padding-set-invisible-dividers --- spacious-padding.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/spacious-padding.el b/spacious-padding.el index 2c198bf1ba..69b8085192 100644 --- a/spacious-padding.el +++ b/spacious-padding.el @@ -261,8 +261,11 @@ overline." `((t ,(when (> (plist-get spacious-padding-widths :right-divider-width) 1) (list :background color :foreground color)))))) -(defun spacious-padding-set-invisible-dividers (_theme) - "Make window dividers for THEME invisible." +(defun spacious-padding-set-invisible-dividers (&rest _) + "Make window dividers invisible and add padding. +Ignore any arguments. This is useful to add the function to abnormal +hooks that pass one or more arguments to it, such as +`after-make-frame-functions'." (let ((bg-main (face-background 'default)) (fg-main (face-foreground 'default))) (custom-set-faces