summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/iswitchb.el17
1 files changed, 5 insertions, 12 deletions
diff --git a/lisp/iswitchb.el b/lisp/iswitchb.el
index 51797da5605..aab768387d0 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)