]> code.delx.au - gnu-emacs/commitdiff
Deprecations (bug#23850)
authorLeo Liu <sdl.web@gmail.com>
Sun, 26 Jun 2016 01:55:39 +0000 (09:55 +0800)
committerLeo Liu <sdl.web@gmail.com>
Sun, 26 Jun 2016 01:59:16 +0000 (09:59 +0800)
* lisp/subr.el (string-to-unibyte, string-as-unibyte,
string-to-multibyte, string-as-multibyte): Make obsolete.

lisp/subr.el

index 48ff5013ceea3c2b3a8d799088d0b8beaeac9d8d..27b1c8aef925f8c9a10714f1a163cc4896d166d8 100644 (file)
@@ -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