emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lispref/modes.texi


From: Richard M . Stallman
Subject: [Emacs-diffs] Changes to emacs/lispref/modes.texi
Date: Wed, 12 Jan 2005 01:21:41 -0500

Index: emacs/lispref/modes.texi
diff -c emacs/lispref/modes.texi:1.83 emacs/lispref/modes.texi:1.84
*** emacs/lispref/modes.texi:1.83       Thu Jan  6 17:42:58 2005
--- emacs/lispref/modes.texi    Wed Jan 12 05:11:05 2005
***************
*** 1736,1742 ****
  the text that would appear in a mode line or header line
  based on certain mode-line specification.
  
! @defun format-mode-line format &optional window no-props buffer
  This function formats a line of text according to @var{format} as if
  it were generating the mode line for @var{window}, but instead of
  displaying the text in the mode line or the header line, it returns
--- 1736,1742 ----
  the text that would appear in a mode line or header line
  based on certain mode-line specification.
  
! @defun format-mode-line format &optional window no-props buffer face
  This function formats a line of text according to @var{format} as if
  it were generating the mode line for @var{window}, but instead of
  displaying the text in the mode line or the header line, it returns
***************
*** 1746,1757 ****
  @var{window}'s buffer.
  
  The value string normally has text properties that correspond to the
! faces, keymaps, etc., that the mode line would have.  If
! @var{no-props} is address@hidden, the value has no text properties.
  
  For example, @code{(format-mode-line header-line-format)} returns the
  text that would appear in the selected window's header line (@code{""}
! if it has no header line).
  @end defun
  
  @node Imenu
--- 1746,1765 ----
  @var{window}'s buffer.
  
  The value string normally has text properties that correspond to the
! faces, keymaps, etc., that the mode line would have.  And any character
! for which no @code{face} property is specified gets a default
! value which is usually @var{face}.  (If @var{face} is @code{t},
! that stands for either @code{mode-line} if @var{window} is selected,
! otherwise @code{mode-line-inactive}.)
! 
! However, if @var{no-props} is address@hidden, the value has no text
! properties.
  
  For example, @code{(format-mode-line header-line-format)} returns the
  text that would appear in the selected window's header line (@code{""}
! if it has no header line).  @code{(format-mode-line header-line-format
! nil nil nil 'header-line)} returns the same text, with each character
! carrying the face that it will have in the header line itself.
  @end defun
  
  @node Imenu




reply via email to

[Prev in Thread] Current Thread [Next in Thread]