From: Stefan Monnier Date: Mon, 30 Jan 2017 18:02:18 +0000 (-0500) Subject: * lisp/subr.el (string-make-unibyte, string-make-multibyte): Obsolete. X-Git-Tag: emacs-26.0.90~858^2~55 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f74d496478cd57f252817bd7437fe1b7972ce01f;p=emacs.git * lisp/subr.el (string-make-unibyte, string-make-multibyte): Obsolete. --- diff --git a/etc/NEWS b/etc/NEWS index 12ff21f39ae..e368ff84f81 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -738,6 +738,7 @@ instead. * Lisp Changes in Emacs 26.1 +** string-(to|as|make)-(uni|multi)byte are now declared obsolete. ** New variable 'while-no-input-ignore-events' which allow setting which special events 'while-no-input' should ignore. It is a list of symbols. diff --git a/lisp/subr.el b/lisp/subr.el index a6ba05c2021..a204577ddf9 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -1417,8 +1417,10 @@ be a list of the form returned by `event-start' and `event-end'." ;; bug#23850 (make-obsolete 'string-to-unibyte "use `encode-coding-string'." "26.1") (make-obsolete 'string-as-unibyte "use `encode-coding-string'." "26.1") +(make-obsolete 'string-make-unibyte "use `encode-coding-string'." "26.1") (make-obsolete 'string-to-multibyte "use `decode-coding-string'." "26.1") (make-obsolete 'string-as-multibyte "use `decode-coding-string'." "26.1") +(make-obsolete 'string-make-multibyte "use `decode-coding-string'." "26.1") (defun log10 (x) "Return (log X 10), the log base 10 of X."