aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo Liu2016-06-26 09:55:39 +0800
committerLeo Liu2016-06-26 09:59:16 +0800
commit0214011cc2476bb056067f57d221ad313a910f22 (patch)
tree8206b98974832f3419edf5f83475f20512d78e69
parentc87c2cad94ab0570846015dcef91a38e84317be9 (diff)
downloademacs-0214011cc2476bb056067f57d221ad313a910f22.tar.gz
emacs-0214011cc2476bb056067f57d221ad313a910f22.zip
Deprecations (bug#23850)
* lisp/subr.el (string-to-unibyte, string-as-unibyte, string-to-multibyte, string-as-multibyte): Make obsolete.
-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'."
1300(make-obsolete 'forward-point "use (+ (point) N) instead." "23.1") 1300(make-obsolete 'forward-point "use (+ (point) N) instead." "23.1")
1301(make-obsolete 'buffer-has-markers-at nil "24.3") 1301(make-obsolete 'buffer-has-markers-at nil "24.3")
1302 1302
1303;; bug#23850
1304(make-obsolete 'string-to-unibyte "use `encode-coding-string'." "25.2")
1305(make-obsolete 'string-as-unibyte "use `encode-coding-string'." "25.2")
1306(make-obsolete 'string-to-multibyte "use `decode-coding-string'." "25.2")
1307(make-obsolete 'string-as-multibyte "use `decode-coding-string'." "25.2")
1308
1303(defun insert-string (&rest args) 1309(defun insert-string (&rest args)
1304 "Mocklisp-compatibility insert function. 1310 "Mocklisp-compatibility insert function.
1305Like the function `insert' except that any argument that is a number 1311Like the function `insert' except that any argument that is a number