From 33a316bae032bbb1a30ccd5e15d0c46a5279884b Mon Sep 17 00:00:00 2001 From: Stephen Eglen Date: Wed, 4 Feb 2004 13:40:10 +0000 Subject: [PATCH] (iswitchb-minibuffer-setup-hook): Update doc string to show how minibuffer height can be constrained. --- lisp/iswitchb.el | 17 +++++------------ 1 file 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) -- 2.39.2