Commit 5f0e32ea authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

* scroll-bar.el (scroll-bar-mode): Turn off scroll bars when

  argument is 0.  Doc fix.  (Bug#1527)
parent a4bead12
2009-02-24 Juanma Barranquero <lekktu@gmail.com>
 
* scroll-bar.el (scroll-bar-mode): Turn off scroll bars when
argument is 0. Doc fix. (Bug#1527)
* w32-vars.el (w32-system-shells): Doc fix.
 
* image.el (image-load-path-for-library, insert-sliced-image):
......
......@@ -117,15 +117,15 @@ Setting the variable with a customization buffer also takes effect."
"Toggle display of vertical scroll bars on all frames.
This command applies to all frames that exist and frames to be
created in the future.
With a numeric argument, if the argument is negative,
turn off scroll bars; otherwise, turn on scroll bars."
With a numeric argument, if the argument is positive
turn on scroll bars; otherwise turn off scroll bars."
(interactive "P")
;; Tweedle the variable according to the argument.
(set-scroll-bar-mode (if (if (null flag)
(not scroll-bar-mode)
(setq flag (prefix-numeric-value flag))
(or (not (numberp flag)) (>= flag 0)))
(or (not (numberp flag)) (> flag 0)))
(or previous-scroll-bar-mode
default-frame-scroll-bars))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment