Fix misspelled functions in shortdoc groups
* lisp/emacs-lisp/shortdoc.el (file, list): Fix misspelled function names: 'file-writable-p' and 'seq-reduce'. * test/lisp/emacs-lisp/shortdoc-tests.el (subr-x): Require. (shortdoc-all-functions-fboundp): New test.
This commit is contained in:
parent
01acecc79c
commit
43c7e05a2a
2 changed files with 13 additions and 4 deletions
|
@ -421,8 +421,8 @@ A FUNC form can have any number of `:no-eval' (or `:no-value'),
|
|||
(file-readable-p
|
||||
:no-eval (file-readable-p "/tmp/foo")
|
||||
:eg-result t)
|
||||
(file-writeable-p
|
||||
:no-eval (file-writeable-p "/tmp/foo")
|
||||
(file-writable-p
|
||||
:no-eval (file-writable-p "/tmp/foo")
|
||||
:eg-result t)
|
||||
(file-accessible-directory-p
|
||||
:no-eval (file-accessible-directory-p "/tmp")
|
||||
|
@ -652,8 +652,8 @@ A FUNC form can have any number of `:no-eval' (or `:no-value'),
|
|||
:eval (mapcan #'list '(1 2 3)))
|
||||
(mapc
|
||||
:eval (mapc #'insert '("1" "2" "3")))
|
||||
(reduce
|
||||
:eval (reduce #'+ '(1 2 3)))
|
||||
(seq-reduce
|
||||
:eval (seq-reduce #'+ '(1 2 3) 0))
|
||||
(mapconcat
|
||||
:eval (mapconcat #'identity '("foo" "bar") "|"))
|
||||
"Predicates"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue