diff options
| author | Eli Zaretskii | 2017-11-04 15:00:25 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2017-11-04 15:00:25 +0200 |
| commit | bd886c6f566cb1e79e388305f8be05e55753b730 (patch) | |
| tree | 7e5f7161a7f0e6398de42b94b79385d5b183be1a /src/coding.c | |
| parent | e973c5f5f43ad4d6c98995eea269509b8a258781 (diff) | |
| download | emacs-bd886c6f566cb1e79e388305f8be05e55753b730.tar.gz emacs-bd886c6f566cb1e79e388305f8be05e55753b730.zip | |
Allow 'make-string' callers force creation of multibyte strings
* src/alloc.c (Fmake_string): Accept additional argument
MULTIBYTE, and produce a multibyte string if it is non-nil.
(make_event_array):
* src/lread.c (read0):
* src/editfns.c (Ftranslate_region_internal):
* src/coding.c (Fdefine_coding_system_internal):
* src/cmds.c (internal_self_insert):
* src/xdisp.c (build_desired_tool_bar_string)
(store_mode_line_string): All C callers changed.
* doc/lispref/strings.texi (Creating Strings): Document the new
optional argument.
* etc/NEWS: Mention the new optional argument.
* lisp/ruler-mode.el (ruler-mode-ruler): Call make-string with the
3rd argument non-nil.
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c index d790ad08ea9..1705838ffad 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -10236,7 +10236,7 @@ usage: (define-coding-system-internal ...) */) | |||
| 10236 | ASET (attrs, coding_attr_ccl_encoder, val); | 10236 | ASET (attrs, coding_attr_ccl_encoder, val); |
| 10237 | 10237 | ||
| 10238 | val = args[coding_arg_ccl_valids]; | 10238 | val = args[coding_arg_ccl_valids]; |
| 10239 | valids = Fmake_string (make_number (256), make_number (0)); | 10239 | valids = Fmake_string (make_number (256), make_number (0), Qnil); |
| 10240 | for (tail = val; CONSP (tail); tail = XCDR (tail)) | 10240 | for (tail = val; CONSP (tail); tail = XCDR (tail)) |
| 10241 | { | 10241 | { |
| 10242 | int from, to; | 10242 | int from, to; |