aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2014-10-12 13:09:15 -0700
committerPaul Eggert2014-10-12 13:09:15 -0700
commitcc541e588a000c9aa6f4d732e95b67e2f01433d6 (patch)
treeb5a74167f1b7cf4f1a667dd731056ad769dbf9e3 /src
parentdfbb4d511ee5b0a6234ffa393deaaaf56a2651b7 (diff)
downloademacs-cc541e588a000c9aa6f4d732e95b67e2f01433d6.tar.gz
emacs-cc541e588a000c9aa6f4d732e95b67e2f01433d6.zip
Spelling fixes.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/font.c17
-rw-r--r--src/keymap.c8
-rw-r--r--src/lread.c4
-rw-r--r--src/process.c6
5 files changed, 18 insertions, 19 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 46f50364890..e06406e3af0 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -10445,7 +10445,7 @@
10445 (imagemagick_get_animation_cache): Fix a double-free error. 10445 (imagemagick_get_animation_cache): Fix a double-free error.
10446 (imagemagick_load_image): Remove the ping_wand code, which only 10446 (imagemagick_load_image): Remove the ping_wand code, which only
10447 apparently saved time on invalid animated images, and slowed down 10447 apparently saved time on invalid animated images, and slowed down
10448 everything else. Optimise for the common case. 10448 everything else. Optimize for the common case.
10449 10449
104502013-08-16 Xue Fuqiao <xfq.free@gmail.com> 104502013-08-16 Xue Fuqiao <xfq.free@gmail.com>
10451 10451
diff --git a/src/font.c b/src/font.c
index d73aed76d40..08a25455cf8 100644
--- a/src/font.c
+++ b/src/font.c
@@ -1184,14 +1184,14 @@ font_parse_xlfd (char *name, ptrdiff_t len, Lisp_Object font)
1184 val = prop[XLFD_ENCODING_INDEX]; 1184 val = prop[XLFD_ENCODING_INDEX];
1185 if (! NILP (val)) 1185 if (! NILP (val))
1186 { 1186 {
1187 AUTO_STRING (stardash, "*-"); 1187 AUTO_STRING (star_dash, "*-");
1188 val = concat2 (stardash, SYMBOL_NAME (val)); 1188 val = concat2 (star_dash, SYMBOL_NAME (val));
1189 } 1189 }
1190 } 1190 }
1191 else if (NILP (prop[XLFD_ENCODING_INDEX])) 1191 else if (NILP (prop[XLFD_ENCODING_INDEX]))
1192 { 1192 {
1193 AUTO_STRING (dashstar, "-*"); 1193 AUTO_STRING (dash_star, "-*");
1194 val = concat2 (SYMBOL_NAME (val), dashstar); 1194 val = concat2 (SYMBOL_NAME (val), dash_star);
1195 } 1195 }
1196 else 1196 else
1197 { 1197 {
@@ -5028,7 +5028,7 @@ font_add_log (const char *action, Lisp_Object arg, Lisp_Object result)
5028 if (FONTP (arg)) 5028 if (FONTP (arg))
5029 { 5029 {
5030 Lisp_Object tail, elt; 5030 Lisp_Object tail, elt;
5031 AUTO_STRING (equalstr, "="); 5031 AUTO_STRING (equal, "=");
5032 5032
5033 val = Ffont_xlfd_name (arg, Qt); 5033 val = Ffont_xlfd_name (arg, Qt);
5034 for (tail = AREF (arg, FONT_EXTRA_INDEX); CONSP (tail); 5034 for (tail = AREF (arg, FONT_EXTRA_INDEX); CONSP (tail);
@@ -5038,16 +5038,15 @@ font_add_log (const char *action, Lisp_Object arg, Lisp_Object result)
5038 if (EQ (XCAR (elt), QCscript) 5038 if (EQ (XCAR (elt), QCscript)
5039 && SYMBOLP (XCDR (elt))) 5039 && SYMBOLP (XCDR (elt)))
5040 val = concat3 (val, SYMBOL_NAME (QCscript), 5040 val = concat3 (val, SYMBOL_NAME (QCscript),
5041 concat2 (equalstr, SYMBOL_NAME (XCDR (elt)))); 5041 concat2 (equal, SYMBOL_NAME (XCDR (elt))));
5042 else if (EQ (XCAR (elt), QClang) 5042 else if (EQ (XCAR (elt), QClang)
5043 && SYMBOLP (XCDR (elt))) 5043 && SYMBOLP (XCDR (elt)))
5044 val = concat3 (val, SYMBOL_NAME (QClang), 5044 val = concat3 (val, SYMBOL_NAME (QClang),
5045 concat2 (equalstr, SYMBOL_NAME (XCDR (elt)))); 5045 concat2 (equal, SYMBOL_NAME (XCDR (elt))));
5046 else if (EQ (XCAR (elt), QCotf) 5046 else if (EQ (XCAR (elt), QCotf)
5047 && CONSP (XCDR (elt)) && SYMBOLP (XCAR (XCDR (elt)))) 5047 && CONSP (XCDR (elt)) && SYMBOLP (XCAR (XCDR (elt))))
5048 val = concat3 (val, SYMBOL_NAME (QCotf), 5048 val = concat3 (val, SYMBOL_NAME (QCotf),
5049 concat2 (equalstr, 5049 concat2 (equal, SYMBOL_NAME (XCAR (XCDR (elt)))));
5050 SYMBOL_NAME (XCAR (XCDR (elt)))));
5051 } 5050 }
5052 arg = val; 5051 arg = val;
5053 } 5052 }
diff --git a/src/keymap.c b/src/keymap.c
index d633bdcaae7..c7c7d196c22 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -1339,8 +1339,8 @@ silly_event_symbol_error (Lisp_Object c)
1339 *p = 0; 1339 *p = 0;
1340 1340
1341 c = reorder_modifiers (c); 1341 c = reorder_modifiers (c);
1342 AUTO_STRING (new_modstring, new_mods); 1342 AUTO_STRING (new_mods_string, new_mods);
1343 keystring = concat2 (new_modstring, XCDR (assoc)); 1343 keystring = concat2 (new_mods_string, XCDR (assoc));
1344 1344
1345 error ("To bind the key %s, use [?%s], not [%s]", 1345 error ("To bind the key %s, use [?%s], not [%s]",
1346 SDATA (SYMBOL_NAME (c)), SDATA (keystring), 1346 SDATA (SYMBOL_NAME (c)), SDATA (keystring),
@@ -2245,9 +2245,9 @@ around function keys and event symbols. */)
2245 if (CONSP (key) && INTEGERP (XCAR (key)) && INTEGERP (XCDR (key))) 2245 if (CONSP (key) && INTEGERP (XCAR (key)) && INTEGERP (XCDR (key)))
2246 /* An interval from a map-char-table. */ 2246 /* An interval from a map-char-table. */
2247 { 2247 {
2248 AUTO_STRING (dotdot, ".."); 2248 AUTO_STRING (dot_dot, "..");
2249 return concat3 (Fsingle_key_description (XCAR (key), no_angles), 2249 return concat3 (Fsingle_key_description (XCAR (key), no_angles),
2250 dotdot, 2250 dot_dot,
2251 Fsingle_key_description (XCDR (key), no_angles)); 2251 Fsingle_key_description (XCDR (key), no_angles));
2252 } 2252 }
2253 2253
diff --git a/src/lread.c b/src/lread.c
index 59af12cf6da..171a51acb3f 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -3661,8 +3661,8 @@ read_list (bool flag, Lisp_Object readcharfun)
3661 We don't use Fexpand_file_name because that would make 3661 We don't use Fexpand_file_name because that would make
3662 the directory absolute now. */ 3662 the directory absolute now. */
3663 { 3663 {
3664 AUTO_STRING (dotdotlisp, "../lisp/"); 3664 AUTO_STRING (dot_dot_lisp, "../lisp/");
3665 elt = concat2 (dotdotlisp, Ffile_name_nondirectory (elt)); 3665 elt = concat2 (dot_dot_lisp, Ffile_name_nondirectory (elt));
3666 } 3666 }
3667 } 3667 }
3668 else if (EQ (elt, Vload_file_name) 3668 else if (EQ (elt, Vload_file_name)
diff --git a/src/process.c b/src/process.c
index f767ae05e96..0c36f8e18c3 100644
--- a/src/process.c
+++ b/src/process.c
@@ -4099,9 +4099,9 @@ server_accept_connection (Lisp_Object server, int channel)
4099#endif 4099#endif
4100 default: 4100 default:
4101 caller = Fnumber_to_string (make_number (connect_counter)); 4101 caller = Fnumber_to_string (make_number (connect_counter));
4102 AUTO_STRING (space_lessthan, " <"); 4102 AUTO_STRING (space_less_than, " <");
4103 AUTO_STRING (greaterthan, ">"); 4103 AUTO_STRING (greater_than, ">");
4104 caller = concat3 (space_lessthan, caller, greaterthan); 4104 caller = concat3 (space_less_than, caller, greater_than);
4105 break; 4105 break;
4106 } 4106 }
4107 4107