summaryrefslogtreecommitdiff
path: root/lisp/subr.el
diff options
context:
space:
mode:
authorLeo Liu <sdl.web@gmail.com>2016-06-26 09:55:39 +0800
committerLeo Liu <sdl.web@gmail.com>2016-06-26 09:59:16 +0800
commit0214011cc2476bb056067f57d221ad313a910f22 (patch)
tree8206b98974832f3419edf5f83475f20512d78e69 /lisp/subr.el
parentc87c2cad94ab0570846015dcef91a38e84317be9 (diff)
downloademacs-0214011cc2476bb056067f57d221ad313a910f22.tar.gz
Deprecations (bug#23850)
* lisp/subr.el (string-to-unibyte, string-as-unibyte, string-to-multibyte, string-as-multibyte): Make obsolete.
Diffstat (limited to 'lisp/subr.el')
-rw-r--r--lisp/subr.el6
1 files changed, 6 insertions, 0 deletions
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