summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/scroll-bar.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/scroll-bar.el b/lisp/scroll-bar.el
index 8fd62f02898..462fdad55ae 100644
--- a/lisp/scroll-bar.el
+++ b/lisp/scroll-bar.el
@@ -56,6 +56,7 @@ created in the future.
With a numeric argument, if the argument is negative,
turn off scroll bars; otherwise, turn on scroll bars."
(interactive "P")
+ (if flag (setq flag (prefix-numeric-value flag)))
;; Obtain the current setting by looking at default-frame-alist.
(let ((scroll-bar-mode