]> git.eshelyaron.com Git - emacs.git/commitdiff
(modify-syntax-entry): Fix argument names (use CHAR instead of C) and usage.
authorPavel Janík <Pavel@Janik.cz>
Tue, 23 Oct 2001 12:01:58 +0000 (12:01 +0000)
committerPavel Janík <Pavel@Janik.cz>
Tue, 23 Oct 2001 12:01:58 +0000 (12:01 +0000)
src/ChangeLog
src/syntax.c

index 7dac489349cbc93ef4106de483e835eef35c3508..f8f0ac3866cab31bdc0bdf1f68f6bbb7e7d763f7 100644 (file)
@@ -1,3 +1,12 @@
+2001-10-23  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * syntax.c: Fix argument names and usage.
+
+       * editfns.c: Fix argument names and usage.
+
+       * xfns.c (Fx_show_tip): Remove unused variables `buffer', `top',
+       `left', `max_width' and `max_height'.
+
 2001-10-23  Gerd Moellmann  <gerd@gnu.org>
 
        * xdisp.c (display_line): For a tab continued to the next line,
index 72df6697602a73f1ca95d3aa86dda2d3bf4129fe..c2a7c733734275640828a3b48c1a43d817912746 100644 (file)
@@ -974,7 +974,7 @@ text property.  */)
 */
 DEFUN ("modify-syntax-entry", Fmodify_syntax_entry, Smodify_syntax_entry, 2, 3, 
   "cSet syntax for character: \nsSet syntax for %s to: ",
-       doc: /* Set syntax for character C according to string NEWENTRY.
+       doc: /* Set syntax for character CHAR according to string NEWENTRY.
 The syntax is changed only for table SYNTAX_TABLE, which defaults to
  the current buffer's syntax table.
 The first character of NEWENTRY should be one of the following:
@@ -993,22 +993,23 @@ The second character of NEWENTRY is the matching parenthesis,
  used only if the first character is `(' or `)'.
 Any additional characters are flags.
 Defined flags are the characters 1, 2, 3, 4, b, p, and n.
- 1 means C is the start of a two-char comment start sequence.
- 2 means C is the second character of such a sequence.
- 3 means C is the start of a two-char comment end sequence.
- 4 means C is the second character of such a sequence.
+ 1 means CHAR is the start of a two-char comment start sequence.
+ 2 means CHAR is the second character of such a sequence.
+ 3 means CHAR is the start of a two-char comment end sequence.
+ 4 means CHAR is the second character of such a sequence.
 
 There can be up to two orthogonal comment sequences.  This is to support
 language modes such as C++.  By default, all comment sequences are of style
 a, but you can set the comment sequence style to b (on the second character
 of a comment-start, or the first character of a comment-end sequence) using
 this flag:
- b means C is part of comment sequence b.
- n means C is part of a nestable comment sequence.
+ b means CHAR is part of comment sequence b.
+ n means CHAR is part of a nestable comment sequence.
 
- p means C is a prefix character for `backward-prefix-chars';
+ p means CHAR is a prefix character for `backward-prefix-chars';
    such characters are treated as whitespace when they occur
-   between expressions.  */)
+   between expressions.
+usage: (modify-syntax-entry CHAR NEWENTRY &optional SYNTAX-TABLE) */)
      (c, newentry, syntax_table)
      Lisp_Object c, newentry, syntax_table;
 {