diff options
| author | Vibhav Pant | 2017-02-13 17:07:36 +0530 |
|---|---|---|
| committer | Vibhav Pant | 2017-02-13 17:07:36 +0530 |
| commit | cb410433e069b5bb450193353c3fea8593a643a9 (patch) | |
| tree | d2f4269781b4841e5a0c27ec57a5a4fbcec386c0 /lisp/subr.el | |
| parent | e742450427007cdde242c11380dfe32a950fab61 (diff) | |
| parent | 4b18ef7ba3dd8aae4f3c3bf931365ef7da883baf (diff) | |
| download | emacs-feature/byte-switch.tar.gz emacs-feature/byte-switch.zip | |
Merge branch 'master' into feature/byte-switchfeature/byte-switch
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." |