]> code.delx.au - gnu-emacs/commitdiff
(iswitchb-minibuffer-setup-hook): Update doc string
authorStephen Eglen <stephen@gnu.org>
Wed, 4 Feb 2004 13:40:10 +0000 (13:40 +0000)
committerStephen Eglen <stephen@gnu.org>
Wed, 4 Feb 2004 13:40:10 +0000 (13:40 +0000)
to show how minibuffer height can be constrained.

lisp/iswitchb.el

index 51797da56058a5727326b50a404c6e5131917690..aab768387d023e9afada5e3cd919eb939830b8bf 100644 (file)
@@ -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)