From 0214011cc2476bb056067f57d221ad313a910f22 Mon Sep 17 00:00:00 2001 From: Leo Liu Date: Sun, 26 Jun 2016 09:55:39 +0800 Subject: [PATCH] Deprecations (bug#23850) * lisp/subr.el (string-to-unibyte, string-as-unibyte, string-to-multibyte, string-as-multibyte): Make obsolete. --- lisp/subr.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lisp/subr.el b/lisp/subr.el index 48ff5013ce..27b1c8aef9 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 -- 2.39.2