diff options
| author | Dmitry Antipov | 2012-07-12 07:45:46 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2012-07-12 07:45:46 +0400 |
| commit | 4a7edc24ba4da27f44151df4e4541c86c35d3037 (patch) | |
| tree | 12ec51444ac8e10c3e62f59d1db1da32c3eef3e0 /src/lread.c | |
| parent | 42bd17194ca4b88032fb8b74aaf33b94b4353703 (diff) | |
| download | emacs-4a7edc24ba4da27f44151df4e4541c86c35d3037.tar.gz emacs-4a7edc24ba4da27f44151df4e4541c86c35d3037.zip | |
Use empty_unibyte_string where applicable.
* keyboard.c (parse_tool_bar_item): Use empty_unibyte_string.
* lread.c (read1): Likewise.
* xsettings.c (syms_of_xsettings): Likewise.
Diffstat (limited to 'src/lread.c')
| -rw-r--r-- | src/lread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lread.c b/src/lread.c index d8a0275bee7..39378bb11dd 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -2670,13 +2670,13 @@ read1 (register Lisp_Object readcharfun, int *pch, int first_in_list) | |||
| 2670 | /* No symbol character follows, this is the empty | 2670 | /* No symbol character follows, this is the empty |
| 2671 | symbol. */ | 2671 | symbol. */ |
| 2672 | UNREAD (c); | 2672 | UNREAD (c); |
| 2673 | return Fmake_symbol (build_string ("")); | 2673 | return Fmake_symbol (empty_unibyte_string); |
| 2674 | } | 2674 | } |
| 2675 | goto read_symbol; | 2675 | goto read_symbol; |
| 2676 | } | 2676 | } |
| 2677 | /* ## is the empty symbol. */ | 2677 | /* ## is the empty symbol. */ |
| 2678 | if (c == '#') | 2678 | if (c == '#') |
| 2679 | return Fintern (build_string (""), Qnil); | 2679 | return Fintern (empty_unibyte_string, Qnil); |
| 2680 | /* Reader forms that can reuse previously read objects. */ | 2680 | /* Reader forms that can reuse previously read objects. */ |
| 2681 | if (c >= '0' && c <= '9') | 2681 | if (c >= '0' && c <= '9') |
| 2682 | { | 2682 | { |