elisp: Minibuffer Misc

 
 19.14 Minibuffer Miscellany
 ===========================
 
  -- Function: minibufferp &optional buffer-or-name
      This function returns non-‘nil’ if BUFFER-OR-NAME is a minibuffer.
      If BUFFER-OR-NAME is omitted, it tests the current buffer.
 
  -- Variable: minibuffer-setup-hook
      This is a normal hook that is run whenever the minibuffer is
      entered.  SeeHooks.
 
  -- Variable: minibuffer-exit-hook
      This is a normal hook that is run whenever the minibuffer is
      exited.  SeeHooks.
 
  -- Variable: minibuffer-help-form
      The current value of this variable is used to rebind ‘help-form’
      locally inside the minibuffer (SeeHelp Functions).
 
  -- Variable: minibuffer-scroll-window
      If the value of this variable is non-‘nil’, it should be a window
      object.  When the function ‘scroll-other-window’ is called in the
      minibuffer, it scrolls this window.
 
  -- Function: minibuffer-selected-window
      This function returns the window that was selected when the
      minibuffer was entered.  If selected window is not a minibuffer
      window, it returns ‘nil’.
 
  -- User Option: max-mini-window-height
      This variable specifies the maximum height for resizing minibuffer
      windows.  If a float, it specifies a fraction of the height of the
      frame.  If an integer, it specifies a number of lines.
 
  -- Function: minibuffer-message string &rest args
      This function displays STRING temporarily at the end of the
      minibuffer text, for a few seconds, or until the next input event
      arrives, whichever comes first.  The variable
      ‘minibuffer-message-timeout’ specifies the number of seconds to
      wait in the absence of input.  It defaults to 2.  If ARGS is
      non-‘nil’, the actual message is obtained by passing STRING and
      ARGS through ‘format-message’.  SeeFormatting Strings.
 
  -- Command: minibuffer-inactive-mode
      This is the major mode used in inactive minibuffers.  It uses
      keymap ‘minibuffer-inactive-mode-map’.  This can be useful if the
      minibuffer is in a separate frame.  SeeMinibuffers and Frames.