aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorStephen Eglen <[email protected]>2004-02-04 13:40:10 +0000
committerStephen Eglen <[email protected]>2004-02-04 13:40:10 +0000
commit33a316bae032bbb1a30ccd5e15d0c46a5279884b (patch)
tree0dde396fa83acf4d76a8aca99e9b0d56f9e5e818 /lisp
parent21575d922f27991249df011ad06195f5d9a962bd (diff)
(iswitchb-minibuffer-setup-hook): Update doc string
to show how minibuffer height can be constrained.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/iswitchb.el17
1 files changed, 5 insertions, 12 deletions
diff --git a/lisp/iswitchb.el b/lisp/iswitchb.el
index 51797da560..aab768387d 100644
--- a/lisp/iswitchb.el
+++ b/lisp/iswitchb.el
@@ -377,18 +377,11 @@ See documentation of `walk-windows' for useful values.")
"Iswitchb-specific customization of minibuffer setup.
This hook is run during minibuffer setup iff `iswitchb' will be active.
-It is intended for use in customizing iswitchb for interoperation
-with other packages."
-;;; For instance:
-
-;;; \(add-hook 'iswitchb-minibuffer-setup-hook
-;;; \(function
-;;; \(lambda ()
-;;; \(make-local-variable 'resize-minibuffer-window-max-height)
-;;; \(setq resize-minibuffer-window-max-height 3))))
-
-;;; will constrain rsz-mini to a maximum minibuffer height of 3 lines when
-;;; iswitchb is running. Copied from `icomplete-minibuffer-setup-hook'."
+For instance:
+\(add-hook 'iswitchb-minibuffer-setup-hook
+ '\(lambda () (set (make-local-variable 'max-mini-window-height) 3)))
+will constrain the minibuffer to a maximum height of 3 lines when
+iswitchb is running."
:type 'hook
:group 'iswitchb)