Commit 48e3f3d7 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(string-to-sequence): Make it obsolete.

(string-to-list, string-to-vector): Implement them directly
using append and vconcat, not with string-to-sequence.
parent 70b199c3
......@@ -56,16 +56,19 @@ TYPE should be `list' or `vector'."
(error "Invalid type: %s" type)))
;;; val)
)
(make-obsolete 'string-to-sequence
"Use `string-to-list' or `string-to-vector'"
"21.3")
;;;###autoload
(defsubst string-to-list (string)
"Return a list of characters in STRING."
(string-to-sequence string 'list))
(append string nil))
;;;###autoload
(defsubst string-to-vector (string)
"Return a vector of characters in STRING."
(string-to-sequence string 'vector))
(vconcat string))
;;;###autoload
(defun store-substring (string idx obj)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment