diff options
| -rw-r--r-- | lisp/international/mule-util.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/international/mule-util.el b/lisp/international/mule-util.el index f66420a8686..e0ad655cbde 100644 --- a/lisp/international/mule-util.el +++ b/lisp/international/mule-util.el | |||
| @@ -56,16 +56,19 @@ TYPE should be `list' or `vector'." | |||
| 56 | (error "Invalid type: %s" type))) | 56 | (error "Invalid type: %s" type))) |
| 57 | ;;; val) | 57 | ;;; val) |
| 58 | ) | 58 | ) |
| 59 | (make-obsolete 'string-to-sequence | ||
| 60 | "Use `string-to-list' or `string-to-vector'" | ||
| 61 | "21.3") | ||
| 59 | 62 | ||
| 60 | ;;;###autoload | 63 | ;;;###autoload |
| 61 | (defsubst string-to-list (string) | 64 | (defsubst string-to-list (string) |
| 62 | "Return a list of characters in STRING." | 65 | "Return a list of characters in STRING." |
| 63 | (string-to-sequence string 'list)) | 66 | (append string nil)) |
| 64 | 67 | ||
| 65 | ;;;###autoload | 68 | ;;;###autoload |
| 66 | (defsubst string-to-vector (string) | 69 | (defsubst string-to-vector (string) |
| 67 | "Return a vector of characters in STRING." | 70 | "Return a vector of characters in STRING." |
| 68 | (string-to-sequence string 'vector)) | 71 | (vconcat string)) |
| 69 | 72 | ||
| 70 | ;;;###autoload | 73 | ;;;###autoload |
| 71 | (defun store-substring (string idx obj) | 74 | (defun store-substring (string idx obj) |