aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2012-08-01 13:51:44 -0700
committerPaul Eggert2012-08-01 13:51:44 -0700
commit4939150cb43137980c49b318bc70119b9d8ff6f7 (patch)
treebcee8eb23f3a6388789bd808a5539dae6e2fc854 /src/ChangeLog
parent947b2afddc9f54a999125aa7e8c9a705ecb51e18 (diff)
downloademacs-4939150cb43137980c49b318bc70119b9d8ff6f7.tar.gz
emacs-4939150cb43137980c49b318bc70119b9d8ff6f7.zip
Use "ASET (a, i, v)" rather than "AREF (a, i) = v".
This how ASET and AREF are supposed to work, and makes it easier to think about future improvements. See <http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00026.html>. * charset.h (set_charset_attr): New function. All lvalue-style uses of CHARSET_DECODER etc. changed to use it. * lisp.h (ASET): Rewrite so as not to use AREF in an lvalue style. (aref_addr): New function. All uses of &AREF(...) changed. (set_hash_key, set_hash_value, set_hash_next, set_hash_hash) (set_hash_index): New functions. All lvalue-style uses of HASH_KEY etc. changed. * keyboard.c (set_prop): New function. All lvalue-style uses of PROP changed.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 5558a5c7c52..3954d489251 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,19 @@
12012-08-01 Paul Eggert <eggert@cs.ucla.edu>
2
3 Use "ASET (a, i, v)" rather than "AREF (a, i) = v".
4 This how ASET and AREF are supposed to work, and makes
5 it easier to think about future improvements. See
6 <http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00026.html>.
7 * charset.h (set_charset_attr): New function.
8 All lvalue-style uses of CHARSET_DECODER etc. changed to use it.
9 * lisp.h (ASET): Rewrite so as not to use AREF in an lvalue style.
10 (aref_addr): New function. All uses of &AREF(...) changed.
11 (set_hash_key, set_hash_value, set_hash_next, set_hash_hash)
12 (set_hash_index): New functions. All lvalue-style uses of
13 HASH_KEY etc. changed.
14 * keyboard.c (set_prop): New function. All lvalue-style uses
15 of PROP changed.
16
12012-08-01 Alp Aker <alp.tekin.aker@gmail.com> 172012-08-01 Alp Aker <alp.tekin.aker@gmail.com>
2 18
3 * nsterm.m (ns_set_vertical_scroll_bar, ns_redeem_scroll_bar) 19 * nsterm.m (ns_set_vertical_scroll_bar, ns_redeem_scroll_bar)