From 9480169f1b8a27ed61db0913989c9a81339ccd9d Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Tue, 22 Dec 2020 06:54:32 +0100 Subject: Change the string-limit parameter semantics * lisp/emacs-lisp/subr-x.el (string-limit): Alter the calling convention. --- lisp/emacs-lisp/shortdoc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/emacs-lisp/shortdoc.el') 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") -- cgit v1.2.3