Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
5f0e32ea
Commit
5f0e32ea
authored
Feb 24, 2009
by
Juanma Barranquero
Browse files
* scroll-bar.el (scroll-bar-mode): Turn off scroll bars when
argument is 0. Doc fix. (Bug#1527)
parent
a4bead12
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
lisp/ChangeLog
lisp/ChangeLog
+3
-0
lisp/scroll-bar.el
lisp/scroll-bar.el
+3
-3
No files found.
lisp/ChangeLog
View file @
5f0e32ea
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):
...
...
lisp/scroll-bar.el
View file @
5f0e32ea
...
...
@@ -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
nega
tive
,
turn o
ff
scroll bars; otherwise
,
turn o
n
scroll bars."
With a numeric argument, if the argument is
posi
tive
turn o
n
scroll bars; otherwise turn o
ff
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
))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment