diff options
| author | Dmitry Antipov | 2012-07-20 11:29:04 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2012-07-20 11:29:04 +0400 |
| commit | d7ea76b4f34c4e2c43bf0b1deeedde354ca540f7 (patch) | |
| tree | ac3cb2ab6d00e89542afc9a5290191e549ce1d81 /src/ChangeLog | |
| parent | 765e61e391ee0937ff6b30510b6c4651064fe38e (diff) | |
| download | emacs-d7ea76b4f34c4e2c43bf0b1deeedde354ca540f7.tar.gz emacs-d7ea76b4f34c4e2c43bf0b1deeedde354ca540f7.zip | |
Simple wrapper for make_unibyte_string, adjust font_open_by_name.
* src/lisp.h (build_unibyte_string): New function.
* src/dosfns.c, src/fileio.c, src/fns.c, src/ftfont.c, src/process.c:
* src/sysdep.c, src/w32fns.c, src/xfns.c: Use it.
* src/font.c (font_open_by_name): Change 2nd and 3rd args to the only arg
of type Lisp_Object to avoid redundant calls to make_unibyte_string.
Adjust users accordingly.
* src/font.h (font_open_by_name): Adjust prototype.
* admin/coccinelle/unibyte_string.cocci: Semantic patch to convert from
make_unibyte_string to build_unibyte_string where appropriate.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 909fb03c488..8242a35e9ec 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,16 @@ | |||
| 1 | 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru> | 1 | 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 2 | ||
| 3 | Simple wrapper for make_unibyte_string, adjust font_open_by_name. | ||
| 4 | * lisp.h (build_unibyte_string): New function. | ||
| 5 | * dosfns.c, fileio.c, fns.c, ftfont.c, process.c: | ||
| 6 | * sysdep.c, w32fns.c, xfns.c: Use it. | ||
| 7 | * font.c (font_open_by_name): Change 2nd and 3rd args to the only arg | ||
| 8 | of type Lisp_Object to avoid redundant calls to make_unibyte_string. | ||
| 9 | Adjust users accordingly. | ||
| 10 | * font.h (font_open_by_name): Adjust prototype. | ||
| 11 | |||
| 12 | 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 13 | |||
| 3 | Cleanup calls to Fgarbage_collect. | 14 | Cleanup calls to Fgarbage_collect. |
| 4 | * lisp.h (maybe_gc): New prototype. | 15 | * lisp.h (maybe_gc): New prototype. |
| 5 | (consing_since_gc, gc_relative_threshold, memory_full_cons_threshold): | 16 | (consing_since_gc, gc_relative_threshold, memory_full_cons_threshold): |