aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Eglen2004-02-04 13:40:10 +0000
committerStephen Eglen2004-02-04 13:40:10 +0000
commit33a316bae032bbb1a30ccd5e15d0c46a5279884b (patch)
tree0dde396fa83acf4d76a8aca99e9b0d56f9e5e818
parent21575d922f27991249df011ad06195f5d9a962bd (diff)
downloademacs-33a316bae032bbb1a30ccd5e15d0c46a5279884b.tar.gz
emacs-33a316bae032bbb1a30ccd5e15d0c46a5279884b.zip
(iswitchb-minibuffer-setup-hook): Update doc string
to show how minibuffer height can be constrained.
-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.")
377 "Iswitchb-specific customization of minibuffer setup. 377 "Iswitchb-specific customization of minibuffer setup.
378 378
379This hook is run during minibuffer setup iff `iswitchb' will be active. 379This hook is run during minibuffer setup iff `iswitchb' will be active.
380It is intended for use in customizing iswitchb for interoperation 380For instance:
381with other packages." 381\(add-hook 'iswitchb-minibuffer-setup-hook
382;;; For instance: 382 '\(lambda () (set (make-local-variable 'max-mini-window-height) 3)))
383 383will constrain the minibuffer to a maximum height of 3 lines when
384;;; \(add-hook 'iswitchb-minibuffer-setup-hook 384iswitchb is running."
385;;; \(function
386;;; \(lambda ()
387;;; \(make-local-variable 'resize-minibuffer-window-max-height)
388;;; \(setq resize-minibuffer-window-max-height 3))))
389
390;;; will constrain rsz-mini to a maximum minibuffer height of 3 lines when
391;;; iswitchb is running. Copied from `icomplete-minibuffer-setup-hook'."
392 :type 'hook 385 :type 'hook
393 :group 'iswitchb) 386 :group 'iswitchb)
394 387