mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Change the string-limit parameter semantics
* lisp/emacs-lisp/subr-x.el (string-limit): Alter the calling convention.
This commit is contained in:
parent
d2b8611862
commit
9480169f1b
4 changed files with 22 additions and 19 deletions
|
|
@ -145,7 +145,7 @@ There can be any number of :example/:result elements."
|
|||
:eval (substring "foobar" 3))
|
||||
(string-limit
|
||||
:eval (string-limit "foobar" 3)
|
||||
:eval (string-limit "foobar" -3)
|
||||
:eval (string-limit "foobar" 3 t)
|
||||
:eval (string-limit "foobar" 10))
|
||||
(split-string
|
||||
:eval (split-string "foo bar")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue