diff options
Diffstat (limited to 'lisp/subr.el')
| -rw-r--r-- | lisp/subr.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index a204577ddf9..4f848d1400c 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -2875,6 +2875,14 @@ See Info node `(elisp)Security Considerations'." | |||
| 2875 | (replace-regexp-in-string "[^-0-9a-zA-Z_./\n]" "\\\\\\&" argument)))) | 2875 | (replace-regexp-in-string "[^-0-9a-zA-Z_./\n]" "\\\\\\&" argument)))) |
| 2876 | )) | 2876 | )) |
| 2877 | 2877 | ||
| 2878 | (defsubst string-to-list (string) | ||
| 2879 | "Return a list of characters in STRING." | ||
| 2880 | (append string nil)) | ||
| 2881 | |||
| 2882 | (defsubst string-to-vector (string) | ||
| 2883 | "Return a vector of characters in STRING." | ||
| 2884 | (vconcat string)) | ||
| 2885 | |||
| 2878 | (defun string-or-null-p (object) | 2886 | (defun string-or-null-p (object) |
| 2879 | "Return t if OBJECT is a string or nil. | 2887 | "Return t if OBJECT is a string or nil. |
| 2880 | Otherwise, return nil." | 2888 | Otherwise, return nil." |