Commit 33a316ba authored by Stephen Eglen's avatar Stephen Eglen
Browse files

(iswitchb-minibuffer-setup-hook): Update doc string

to show how minibuffer height can be constrained.
parent 21575d92
...@@ -377,18 +377,11 @@ See documentation of `walk-windows' for useful values.") ...@@ -377,18 +377,11 @@ See documentation of `walk-windows' for useful values.")
"Iswitchb-specific customization of minibuffer setup. "Iswitchb-specific customization of minibuffer setup.
This hook is run during minibuffer setup iff `iswitchb' will be active. This hook is run during minibuffer setup iff `iswitchb' will be active.
It is intended for use in customizing iswitchb for interoperation For instance:
with other packages." \(add-hook 'iswitchb-minibuffer-setup-hook
;;; For instance: '\(lambda () (set (make-local-variable 'max-mini-window-height) 3)))
will constrain the minibuffer to a maximum height of 3 lines when
;;; \(add-hook 'iswitchb-minibuffer-setup-hook iswitchb is running."
;;; \(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'."
:type 'hook :type 'hook
:group 'iswitchb) :group 'iswitchb)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment