aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2014-04-05 12:30:36 -0700
committerPaul Eggert2014-04-05 12:30:36 -0700
commitfaa521749378dbfd97f49a0e5c48f6da2ce1ddba (patch)
treed470dbfa3328aaeffe5cba065103e237238a13be /src/ChangeLog
parent1b058e42524353c9ff133ea330876ed2d39b6515 (diff)
downloademacs-faa521749378dbfd97f49a0e5c48f6da2ce1ddba.tar.gz
emacs-faa521749378dbfd97f49a0e5c48f6da2ce1ddba.zip
Prefer 'ARRAYELTS (x)' to 'sizeof x / sizeof *x'.
* alloc.c (memory_full): * charset.c (syms_of_charset): * doc.c (Fsnarf_documentation): * emacs.c (main): * font.c (BUILD_STYLE_TABLE): * keyboard.c (make_lispy_event): * profiler.c (setup_cpu_timer): * xgselect.c (xg_select): * xterm.c (record_event, STORE_KEYSYM_FOR_DEBUG): Use ARRAYELTS. * font.c (FONT_PROPERTY_TABLE_SIZE): Remove. Replace the only use with ARRAYELTS (font_property_table). * xfaces.c (DIM): Remove. All uses replaced by ARRAYELTS.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 7152890f45d..a474c261187 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,20 @@
12014-04-05 Paul Eggert <eggert@cs.ucla.edu>
2
3 Prefer 'ARRAYELTS (x)' to 'sizeof x / sizeof *x'.
4 * alloc.c (memory_full):
5 * charset.c (syms_of_charset):
6 * doc.c (Fsnarf_documentation):
7 * emacs.c (main):
8 * font.c (BUILD_STYLE_TABLE):
9 * keyboard.c (make_lispy_event):
10 * profiler.c (setup_cpu_timer):
11 * xgselect.c (xg_select):
12 * xterm.c (record_event, STORE_KEYSYM_FOR_DEBUG):
13 Use ARRAYELTS.
14 * font.c (FONT_PROPERTY_TABLE_SIZE): Remove.
15 Replace the only use with ARRAYELTS (font_property_table).
16 * xfaces.c (DIM): Remove. All uses replaced by ARRAYELTS.
17
12014-04-03 Daniel Colascione <dancol@dancol.org> 182014-04-03 Daniel Colascione <dancol@dancol.org>
2 19
3 * xterm.c (x_term_init): 20 * xterm.c (x_term_init):