changeset 20061:fb0d3082b28c

(toggle-scroll-bar): Call prefix-numeric-value.
author Karl Heuer <kwzh@gnu.org>
date Wed, 15 Oct 1997 23:40:43 +0000
parents 36044c8b8aef
children bf3f4dc09cc0
files lisp/scroll-bar.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/scroll-bar.el	Wed Oct 15 23:36:30 1997 +0000
+++ b/lisp/scroll-bar.el	Wed Oct 15 23:40:43 1997 +0000
@@ -126,7 +126,8 @@
       (setq arg
 	    (if (cdr (assq 'vertical-scroll-bars
 			   (frame-parameters (selected-frame))))
-		-1 1)))
+		-1 1))
+    (setq arg (prefix-numeric-value arg)))
   (modify-frame-parameters (selected-frame)
 			   (list (cons 'vertical-scroll-bars
 				       (if (> arg 0)