]> git.eshelyaron.com Git - emacs.git/commit
Allow 'make-string' callers force creation of multibyte strings
authorEli Zaretskii <eliz@gnu.org>
Sat, 4 Nov 2017 13:00:25 +0000 (15:00 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 4 Nov 2017 13:00:25 +0000 (15:00 +0200)
commitbd886c6f566cb1e79e388305f8be05e55753b730
tree7e5f7161a7f0e6398de42b94b79385d5b183be1a
parente973c5f5f43ad4d6c98995eea269509b8a258781
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.
doc/lispref/strings.texi
etc/NEWS
lisp/ruler-mode.el
src/alloc.c
src/cmds.c
src/coding.c
src/editfns.c
src/lread.c
src/xdisp.c