diff options
| author | Paul Eggert | 2016-03-10 07:34:52 -0800 |
|---|---|---|
| committer | Paul Eggert | 2016-03-10 07:59:19 -0800 |
| commit | 7352c6c695db8b90b63c2601277d64a32507d2bb (patch) | |
| tree | 1dc5f7af755a70f67efe13882099ff4920230571 /src/font.c | |
| parent | a589e9aed5255fb1ebfb38fa4b3c9df5f6ef7448 (diff) | |
| download | emacs-7352c6c695db8b90b63c2601277d64a32507d2bb.tar.gz emacs-7352c6c695db8b90b63c2601277d64a32507d2bb.zip | |
Rework C source files to avoid ^(
Work around Bug#22884 by rewording comments and strings to avoid ‘(’
at the start of a line unless it starts a function. This change
is a short-term hack; in the longer run we plan to fix cc-mode’s
performance for C files that have ‘(’ at the start of a line in a
comment or string.
Diffstat (limited to 'src/font.c')
| -rw-r--r-- | src/font.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/font.c b/src/font.c index 039493bcbea..5ab3b3e8399 100644 --- a/src/font.c +++ b/src/font.c | |||
| @@ -9,8 +9,8 @@ This file is part of GNU Emacs. | |||
| 9 | 9 | ||
| 10 | GNU Emacs is free software: you can redistribute it and/or modify | 10 | GNU Emacs is free software: you can redistribute it and/or modify |
| 11 | it under the terms of the GNU General Public License as published by | 11 | it under the terms of the GNU General Public License as published by |
| 12 | the Free Software Foundation, either version 3 of the License, or | 12 | the Free Software Foundation, either version 3 of the License, or (at |
| 13 | (at your option) any later version. | 13 | your option) any later version. |
| 14 | 14 | ||
| 15 | GNU Emacs is distributed in the hope that it will be useful, | 15 | GNU Emacs is distributed in the hope that it will be useful, |
| 16 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 16 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| @@ -4086,7 +4086,7 @@ DEFUN ("font-face-attributes", Ffont_face_attributes, Sfont_face_attributes, 1, | |||
| 4086 | FONT is a font name, a font-spec, a font-entity, or a font-object. | 4086 | FONT is a font name, a font-spec, a font-entity, or a font-object. |
| 4087 | The return value is a list of the form | 4087 | The return value is a list of the form |
| 4088 | 4088 | ||
| 4089 | (:family FAMILY :height HEIGHT :weight WEIGHT :slant SLANT :width WIDTH) | 4089 | \(:family FAMILY :height HEIGHT :weight WEIGHT :slant SLANT :width WIDTH) |
| 4090 | 4090 | ||
| 4091 | where FAMILY, HEIGHT, WEIGHT, SLANT, and WIDTH are face attribute values | 4091 | where FAMILY, HEIGHT, WEIGHT, SLANT, and WIDTH are face attribute values |
| 4092 | compatible with `set-face-attribute'. Some of these key-attribute pairs | 4092 | compatible with `set-face-attribute'. Some of these key-attribute pairs |
| @@ -5378,7 +5378,7 @@ where ENCODING is a charset or a char-table, | |||
| 5378 | and REPERTORY is a charset, a char-table, or nil. | 5378 | and REPERTORY is a charset, a char-table, or nil. |
| 5379 | 5379 | ||
| 5380 | If ENCODING and REPERTORY are the same, the element can have the form | 5380 | If ENCODING and REPERTORY are the same, the element can have the form |
| 5381 | (REGEXP . ENCODING). | 5381 | \(REGEXP . ENCODING). |
| 5382 | 5382 | ||
| 5383 | ENCODING is for converting a character to a glyph code of the font. | 5383 | ENCODING is for converting a character to a glyph code of the font. |
| 5384 | If ENCODING is a charset, encoding a character by the charset gives | 5384 | If ENCODING is a charset, encoding a character by the charset gives |