changeset 71080:83ec7285ed6c

(temp-buffer-max-height): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Tue, 30 May 2006 02:35:51 +0000
parents a7e1f38ed67a
children 138e0b947493
files lisp/help.el
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/help.el	Tue May 30 01:19:09 2006 +0000
+++ b/lisp/help.el	Tue May 30 02:35:51 2006 +0000
@@ -942,11 +942,11 @@
 
 (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")