From c9a95237a8e5d2c2e8ca3d6c97de8c7b5c1daaac Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 21 Dec 2020 22:08:56 +0100 Subject: [PATCH] Add try-completion to the string shortdoc * lisp/emacs-lisp/shortdoc.el (string): Mention try-completion here. --- lisp/emacs-lisp/shortdoc.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/emacs-lisp/shortdoc.el b/lisp/emacs-lisp/shortdoc.el index 9bd06636f4d..7bb7d233b47 100644 --- a/lisp/emacs-lisp/shortdoc.el +++ b/lisp/emacs-lisp/shortdoc.el @@ -192,6 +192,8 @@ There can be any number of :example/:result elements." :eval (reverse "foo")) (substring-no-properties :eval (substring-no-properties (propertize "foobar" 'face 'bold) 0 3)) + (try-completion + :eval (try-completion "foo" '("foobar" "foozot" "gazonk"))) "Predicates for Strings" (string-equal :eval (string-equal "foo" "foo")) -- 2.39.5