diff options
author | Richard M. Stallman <rms@gnu.org> | 2006-05-30 02:35:56 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2006-05-30 02:35:56 +0000 |
commit | 90e357ae457e40c8a4c7534deab619ee317f3bf1 (patch) | |
tree | 1e31ebcdc99531daf4e8b566b2ac7136273f61a3 /lisp | |
parent | 39be728a88a93ae2b0a8ded953aa074fa0cf556d (diff) | |
download | emacs-90e357ae457e40c8a4c7534deab619ee317f3bf1.tar.gz |
(temp-buffer-max-height): Doc fix.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 2 | ||||
-rw-r--r-- | lisp/help.el | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9e1eb780f2d..0cb2920ddea 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2006-05-29 Richard Stallman <rms@gnu.org> + * help.el (temp-buffer-max-height): Doc fix. + * subr.el (with-current-buffer): Doc fix. 2006-05-29 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> diff --git a/lisp/help.el b/lisp/help.el index 1661779ca74..5efd58dfaf5 100644 --- a/lisp/help.el +++ b/lisp/help.el @@ -942,11 +942,11 @@ is currently activated with completion." (defcustom temp-buffer-max-height (lambda (buffer) (/ (- (frame-height) 2) 2)) "Maximum height of a window displaying a temporary buffer. -This is the maximum height (in text lines) which `resize-temp-buffer-window' +This is effective only when Temp Buffer Resize mode is enabled. +The value is the maximum height (in lines) which `resize-temp-buffer-window' will give to a window displaying a temporary buffer. -It can also be a function which will be called with the object corresponding -to the buffer to be displayed as argument and should return an integer -positive number." +It can also be a function to be called to choose the height for such a buffer. +It gets one argumemt, the buffer, and should return a positive integer." :type '(choice integer function) :group 'help :version "20.4") |