emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/lispref/abbrevs.texi
Date: Sun, 30 Dec 2001 15:11:27 -0500

Index: emacs/lispref/abbrevs.texi
diff -c emacs/lispref/abbrevs.texi:1.12 emacs/lispref/abbrevs.texi:1.13
*** emacs/lispref/abbrevs.texi:1.12     Sun Dec 30 15:07:27 2001
--- emacs/lispref/abbrevs.texi  Sun Dec 30 15:11:26 2001
***************
*** 111,118 ****
  
    These functions define an abbrev in a specified abbrev table.
  @code{define-abbrev} is the low-level basic function, while
! @code{add-abbrev} is used by commands that ask for information from the
! user.
  
  @defun add-abbrev table type arg
  This function adds an abbreviation to abbrev table @var{table} based on
--- 111,119 ----
  
    These functions define an abbrev in a specified abbrev table.
  @code{define-abbrev} is the low-level basic function, while
! @code{add-abbrev} is used by commands that ask for information from
! the user.  When major modes predefine standard abbrevs, they should
! call @code{define-abbrev} and specify @code{t} for @var{system-flag}.
  
  @defun add-abbrev table type arg
  This function adds an abbreviation to abbrev table @var{table} based on
***************
*** 156,167 ****
  @code{expand-abbrev} also returns @code{nil}, as if expansion had not
  really occurred.
  
  Normally the function @code{define-abbrev} sets the variable
! @code{abbrevs-changed} to @code{t}.  But if @var{system-flag} is
! address@hidden, that says the abbrev is a ``system'' abbrev.  In that
! case, @code{define-abbrev} does not alter @code{abbrevs-changed}.
! Instead it marks the abbrev as a ``system'' abbrev with the
! @code{system-type} property.
  @end defun
  
  @defopt only-global-abbrevs
--- 157,170 ----
  @code{expand-abbrev} also returns @code{nil}, as if expansion had not
  really occurred.
  
+ If @var{system-flag} is address@hidden, that marks the abbrev as a
+ ``system'' abbrev with the @code{system-type} property.
+ 
  Normally the function @code{define-abbrev} sets the variable
! @code{abbrevs-changed} to @code{t}, if it actually changes the abbrev.
! (This is so that some commands will offer to save the abbrevs.)  It
! does not do this for a ``system'' abbrev, since those won't be saved
! anyway.
  @end defun
  
  @defopt only-global-abbrevs



reply via email to

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