diff options
| author | Stephen Eglen | 2004-02-04 13:40:10 +0000 |
|---|---|---|
| committer | Stephen Eglen | 2004-02-04 13:40:10 +0000 |
| commit | 33a316bae032bbb1a30ccd5e15d0c46a5279884b (patch) | |
| tree | 0dde396fa83acf4d76a8aca99e9b0d56f9e5e818 | |
| parent | 21575d922f27991249df011ad06195f5d9a962bd (diff) | |
| download | emacs-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.el | 17 |
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 | ||
| 379 | This hook is run during minibuffer setup iff `iswitchb' will be active. | 379 | This hook is run during minibuffer setup iff `iswitchb' will be active. |
| 380 | It is intended for use in customizing iswitchb for interoperation | 380 | For instance: |
| 381 | with other packages." | 381 | \(add-hook 'iswitchb-minibuffer-setup-hook |
| 382 | ;;; For instance: | 382 | '\(lambda () (set (make-local-variable 'max-mini-window-height) 3))) |
| 383 | 383 | will constrain the minibuffer to a maximum height of 3 lines when | |
| 384 | ;;; \(add-hook 'iswitchb-minibuffer-setup-hook | 384 | iswitchb 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 | ||