summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/shortdoc.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2020-12-22 06:54:32 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2020-12-22 06:54:32 +0100
commit9480169f1b8a27ed61db0913989c9a81339ccd9d (patch)
treeb04ae101abf03d0baec0da2b2e5156603801efd9 /lisp/emacs-lisp/shortdoc.el
parentd2b86118629562600c07dbc5befa78ac8b860b68 (diff)
downloademacs-9480169f1b8a27ed61db0913989c9a81339ccd9d.tar.gz
emacs-9480169f1b8a27ed61db0913989c9a81339ccd9d.tar.bz2
emacs-9480169f1b8a27ed61db0913989c9a81339ccd9d.zip
Change the string-limit parameter semantics
* lisp/emacs-lisp/subr-x.el (string-limit): Alter the calling convention.
Diffstat (limited to 'lisp/emacs-lisp/shortdoc.el')
-rw-r--r--lisp/emacs-lisp/shortdoc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/shortdoc.el b/lisp/emacs-lisp/shortdoc.el
index 7bb7d233b47..eb57e706608 100644
--- a/lisp/emacs-lisp/shortdoc.el
+++ b/lisp/emacs-lisp/shortdoc.el
@@ -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")