changeset 53805:dd6aac780c4b

(iswitchb-minibuffer-setup-hook): Update doc string to show how minibuffer height can be constrained.
author Stephen Eglen <stephen@gnu.org>
date Wed, 04 Feb 2004 13:40:10 +0000
parents ce01a24ee08f
children e9d57f5fd5bb
files lisp/iswitchb.el
diffstat 1 files changed, 5 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/iswitchb.el	Wed Feb 04 08:21:48 2004 +0000
+++ b/lisp/iswitchb.el	Wed Feb 04 13:40:10 2004 +0000
@@ -377,18 +377,11 @@
   "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)