diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2020-12-22 06:54:32 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-12-22 06:54:32 +0100 |
commit | 9480169f1b8a27ed61db0913989c9a81339ccd9d (patch) | |
tree | b04ae101abf03d0baec0da2b2e5156603801efd9 /lisp/emacs-lisp/shortdoc.el | |
parent | d2b86118629562600c07dbc5befa78ac8b860b68 (diff) | |
download | emacs-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.el | 2 |
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") |