summaryrefslogtreecommitdiff
path: root/src/coding.c
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2007-10-16 16:28:39 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2007-10-16 16:28:39 +0000
commit9beb8baa1f1b59f8e76df62e95647c39acbac5e7 (patch)
treed01390c83402aff49ddf14e282a9edb9bc983ba3 /src/coding.c
parentd3f41ff55563551d241407ef640c9984156f87b8 (diff)
downloademacs-9beb8baa1f1b59f8e76df62e95647c39acbac5e7.tar.gz
* xfns.c (Fx_create_frame, Fx_display_list):
* window.c (window_fixed_size_p, enlarge_window, shrink_window_lowest_first): * macterm.c (init_font_name_table): * macfns.c (Fx_create_frame, Fx_display_list): * lread.c (close_load_descs): * keyboard.c (read_char_x_menu_prompt): * fns.c (Fmember, Fmemql, Fdelete, Fset_char_table_parent): * coding.c (code_convert_region_unwind): Test the type of an object rather than just !NILP before extracting data from it.
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c
index b6299097d55..b0721cc22be 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -5371,7 +5371,7 @@ code_convert_region_unwind (arg)
inhibit_pre_post_conversion = 0;
Vlast_coding_system_used = XCAR (arg);
- for (arg = XCDR (arg); ! NILP (arg); arg = XCDR (arg))
+ for (arg = XCDR (arg); CONSP (arg); arg = XCDR (arg))
Fkill_buffer (XCAR (arg));
UNGCPRO;