From: Stephen Eglen Date: Wed, 4 Feb 2004 13:40:10 +0000 (+0000) Subject: (iswitchb-minibuffer-setup-hook): Update doc string X-Git-Tag: ttn-vms-21-2-B4~7752 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=33a316bae032bbb1a30ccd5e15d0c46a5279884b;p=emacs.git (iswitchb-minibuffer-setup-hook): Update doc string to show how minibuffer height can be constrained. --- 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)