aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2011-07-14 19:11:49 +0200
committerLars Magne Ingebrigtsen2011-07-14 19:11:49 +0200
commitd7956b14bf125124e85ba7bc2c06fe6310bb9b42 (patch)
tree1aaa9055fb5301e20d95c5d0498ea5421d6d5b59
parent5b2d4a662ba8db94b8a5ad5f201659f5ac09d79c (diff)
downloademacs-d7956b14bf125124e85ba7bc2c06fe6310bb9b42.tar.gz
emacs-d7956b14bf125124e85ba7bc2c06fe6310bb9b42.zip
`set-scroll-bar-mode' doc clarification
* scroll-bar.el (set-scroll-bar-mode): Mention that `scroll-bar-mode' lists the values (bug#7772).
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/scroll-bar.el3
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 66c0e80e23a..1469e13daa8 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org> 12011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 2
3 * scroll-bar.el (set-scroll-bar-mode): Mention that
4 `scroll-bar-mode' lists the values (bug#7772).
5
3 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle 6 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
4 command (bug#7729). 7 command (bug#7729).
5 8
diff --git a/lisp/scroll-bar.el b/lisp/scroll-bar.el
index 54f2ba765b5..0c68bca4d2e 100644
--- a/lisp/scroll-bar.el
+++ b/lisp/scroll-bar.el
@@ -81,7 +81,8 @@ SIDE must be the symbol `left' or `right'."
81This is nil while loading `scroll-bar.el', and t afterward.") 81This is nil while loading `scroll-bar.el', and t afterward.")
82 82
83(defun set-scroll-bar-mode (value) 83(defun set-scroll-bar-mode (value)
84 "Set `scroll-bar-mode' to VALUE and put the new value into effect." 84 "Set the scroll bar mode to VALUE and put the new value into effect.
85See the `scroll-bar-mode' variable for possible values to use."
85 (if scroll-bar-mode 86 (if scroll-bar-mode
86 (setq previous-scroll-bar-mode scroll-bar-mode)) 87 (setq previous-scroll-bar-mode scroll-bar-mode))
87 88