From: Leo Liu Date: Sun, 26 Jun 2016 01:55:39 +0000 (+0800) Subject: Deprecations (bug#23850) X-Git-Tag: emacs-26.0.90~1840^2~170 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0214011cc2476bb056067f57d221ad313a910f22;p=emacs.git Deprecations (bug#23850) * lisp/subr.el (string-to-unibyte, string-as-unibyte, string-to-multibyte, string-as-multibyte): Make obsolete. --- diff --git a/lisp/subr.el b/lisp/subr.el index 48ff5013cee..27b1c8aef92 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -1300,6 +1300,12 @@ be a list of the form returned by `event-start' and `event-end'." (make-obsolete 'forward-point "use (+ (point) N) instead." "23.1") (make-obsolete 'buffer-has-markers-at nil "24.3") +;; bug#23850 +(make-obsolete 'string-to-unibyte "use `encode-coding-string'." "25.2") +(make-obsolete 'string-as-unibyte "use `encode-coding-string'." "25.2") +(make-obsolete 'string-to-multibyte "use `decode-coding-string'." "25.2") +(make-obsolete 'string-as-multibyte "use `decode-coding-string'." "25.2") + (defun insert-string (&rest args) "Mocklisp-compatibility insert function. Like the function `insert' except that any argument that is a number