]> git.eshelyaron.com Git - emacs.git/commitdiff
(scroll-bar-mode): If FLAG is non-nil, set it to its prefix-numeric-value.
authorRoland McGrath <roland@gnu.org>
Fri, 6 Aug 1993 21:03:45 +0000 (21:03 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 6 Aug 1993 21:03:45 +0000 (21:03 +0000)
lisp/scroll-bar.el

index 8fd62f02898427f33f2db5d3e89f314f1b542299..462fdad55aec2203a7335ecbbb60f524e63ac247 100644 (file)
@@ -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