From: Lars Magne Ingebrigtsen Date: Thu, 14 Jul 2011 17:11:49 +0000 (+0200) Subject: `set-scroll-bar-mode' doc clarification X-Git-Tag: emacs-pretest-24.0.90~104^2~277 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d7956b14bf125124e85ba7bc2c06fe6310bb9b42;p=emacs.git `set-scroll-bar-mode' doc clarification * scroll-bar.el (set-scroll-bar-mode): Mention that `scroll-bar-mode' lists the values (bug#7772). --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 66c0e80e23a..1469e13daa8 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2011-07-14 Lars Magne Ingebrigtsen + * scroll-bar.el (set-scroll-bar-mode): Mention that + `scroll-bar-mode' lists the values (bug#7772). + * image-mode.el (image-mode-fit-frame): Mention that it's a toggle command (bug#7729). 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'." This is nil while loading `scroll-bar.el', and t afterward.") (defun set-scroll-bar-mode (value) - "Set `scroll-bar-mode' to VALUE and put the new value into effect." + "Set the scroll bar mode to VALUE and put the new value into effect. +See the `scroll-bar-mode' variable for possible values to use." (if scroll-bar-mode (setq previous-scroll-bar-mode scroll-bar-mode))