# HG changeset patch # User Stephen Eglen # Date 1075902010 0 # Node ID dd6aac780c4b60a1b64a5be222acc42870fd91ce # Parent ce01a24ee08f15a992f83626097ba8237f0974e9 (iswitchb-minibuffer-setup-hook): Update doc string to show how minibuffer height can be constrained. diff -r ce01a24ee08f -r dd6aac780c4b lisp/iswitchb.el --- 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)