comparison lisp/subr.el @ 3553:f17718066b5e

[xemacs-hg @ 2006-08-10 12:28:41 by scop] Alias string-to-char-list to string-to-list <1154980866.2997.72.camel@localhost.localdomain>
author scop
date Thu, 10 Aug 2006 12:28:42 +0000
parents 5df5ea55d3fc
children db783273b399
comparison
equal deleted inserted replaced
3552:09e49e03d79e 3553:f17718066b5e
925 (mapvector #'identity string)))) 925 (mapvector #'identity string))))
926 926
927 (defun string-to-list (string) 927 (defun string-to-list (string)
928 "Return a list of characters in STRING." 928 "Return a list of characters in STRING."
929 (mapcar #'identity string)) 929 (mapcar #'identity string))
930
931 ;; < 21.5 compatibility, eg. https://bugzilla.redhat.com/201524#c2
932 (define-obsolete-function-alias 'string-to-char-list 'string-to-list)
930 933
931 (defun string-to-vector (string) 934 (defun string-to-vector (string)
932 "Return a vector of characters in STRING." 935 "Return a vector of characters in STRING."
933 (mapvector #'identity string)) 936 (mapvector #'identity string))
934 937