emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs/doc/lispref ChangeLog syntax.texi


From: Chong Yidong
Subject: [Emacs-diffs] emacs/doc/lispref ChangeLog syntax.texi
Date: Fri, 10 Apr 2009 04:57:06 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      09/04/10 04:57:06

Modified files:
        doc/lispref    : ChangeLog syntax.texi 

Log message:
        * syntax.texi (Syntax Table Functions): Document cons cell
        argument for modify-syntax-entry.
        (Categories): Document cons cell argument for
        modify-category-entry.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/doc/lispref/ChangeLog?cvsroot=emacs&r1=1.256&r2=1.257
http://cvs.savannah.gnu.org/viewcvs/emacs/doc/lispref/syntax.texi?cvsroot=emacs&r1=1.4&r2=1.5

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/doc/lispref/ChangeLog,v
retrieving revision 1.256
retrieving revision 1.257
diff -u -b -r1.256 -r1.257
--- ChangeLog   10 Apr 2009 04:48:05 -0000      1.256
+++ ChangeLog   10 Apr 2009 04:57:05 -0000      1.257
@@ -1,5 +1,10 @@
 2009-04-10  Chong Yidong  <address@hidden>
 
+       * syntax.texi (Syntax Table Functions): Document cons cell
+       argument for modify-syntax-entry.
+       (Categories): Document cons cell argument for
+       modify-category-entry.
+
        * searching.texi (String Search): Document word-search-forward-lax
        and word-search-backward-lax.
        (Searching and Case): Describe isearch behavior more precisely.

Index: syntax.texi
===================================================================
RCS file: /sources/emacs/emacs/doc/lispref/syntax.texi,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- syntax.texi 8 Jan 2009 05:29:02 -0000       1.4
+++ syntax.texi 10 Apr 2009 04:57:05 -0000      1.5
@@ -418,12 +418,17 @@
 
 @deffn Command modify-syntax-entry char syntax-descriptor  &optional table
 This function sets the syntax entry for @var{char} according to
address@hidden  The syntax is changed only for @var{table},
-which defaults to the current buffer's syntax table, and not in any
-other syntax table.  The argument @var{syntax-descriptor} specifies the
-desired syntax; this is a string beginning with a class designator
-character, and optionally containing a matching character and flags as
-well.  @xref{Syntax Descriptors}.
address@hidden  @var{char} can be a character, or a cons
+cell of the form @code{(@var{min} . @var{max})}; in the latter case,
+the function sets the syntax entries for all characters in the range
+between @var{min} and @var{max}, inclusive.
+
+The syntax is changed only for @var{table}, which defaults to the
+current buffer's syntax table, and not in any other syntax table.  The
+argument @var{syntax-descriptor} specifies the desired syntax; this is
+a string beginning with a class designator character, and optionally
+containing a matching character and flags as well.  @xref{Syntax
+Descriptors}.
 
 This function always returns @code{nil}.  The old syntax information in
 the table for this character is discarded.
@@ -1163,12 +1168,15 @@
 @end example
 @end defun
 
address@hidden modify-category-entry character category &optional table reset
-This function modifies the category set of @var{character} in category
address@hidden modify-category-entry char category &optional table reset
+This function modifies the category set of @var{char} in category
 table @var{table} (which defaults to the current buffer's category
-table).
+table).  @var{char} can be a character, or a cons cell of the form
address@hidden(@var{min} . @var{max})}; in the latter case, the function
+modifies the category sets of all characters in the range between
address@hidden and @var{max}, inclusive.
 
-Normally, it modifies the category set by adding @var{category} to it.
+Normally, it modifies a category set by adding @var{category} to it.
 But if @var{reset} is address@hidden, then it deletes @var{category}
 instead.
 @end defun




reply via email to

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