Add more functions to "string" shortdoc
* lisp/emacs-lisp/shortdoc.el: Add 'string-or-null-p', 'char-or-string-p', 'char-uppercase-p'. (Bug#60279)
This commit is contained in:
parent
c90f97d4e5
commit
84888080ee
1 changed files with 9 additions and 0 deletions
|
@ -263,6 +263,12 @@ A FUNC form can have any number of `:no-eval' (or `:no-value'),
|
|||
:eval (stringp "a")
|
||||
:eval (stringp 'a)
|
||||
:eval "(stringp ?a)")
|
||||
(string-or-null-p
|
||||
:eval (string-or-null-p "a")
|
||||
:eval (string-or-null-p nil))
|
||||
(char-or-string-p
|
||||
:eval "(char-or-string-p ?a)"
|
||||
:eval (char-or-string-p "a"))
|
||||
(string-empty-p
|
||||
:no-manual t
|
||||
:eval (string-empty-p ""))
|
||||
|
@ -300,6 +306,9 @@ A FUNC form can have any number of `:no-eval' (or `:no-value'),
|
|||
:eval (string-to-number "2.5e+03"))
|
||||
(number-to-string
|
||||
:eval (number-to-string 42))
|
||||
(char-uppercase-p
|
||||
:eval "(char-uppercase-p ?A)"
|
||||
:eval "(char-uppercase-p ?a)")
|
||||
"Data About Strings"
|
||||
(length
|
||||
:eval (length "foo")
|
||||
|
|
Loading…
Add table
Reference in a new issue