summaryrefslogtreecommitdiff
path: root/lisp/pdf-roll.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/pdf-roll.el')
-rw-r--r--lisp/pdf-roll.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/pdf-roll.el b/lisp/pdf-roll.el
index e47063b..2cc5d16 100644
--- a/lisp/pdf-roll.el
+++ b/lisp/pdf-roll.el
@@ -43,7 +43,9 @@
(defcustom pdf-roll-margin-color "gray"
"Background color of overlay, i.e. page separation color."
:type 'color
- :set (lambda (_ color) (put 'pdf-roll-margin 'face `(:background ,color))))
+ :set (lambda (sym color)
+ (set-default sym color)
+ (put 'pdf-roll-margin 'face `(:background ,color))))
;;; Variables
(defvar pdf-roll--state nil