[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master c9a9523: Add try-completion to the string shortdoc
From: |
Lars Ingebrigtsen |
Subject: |
master c9a9523: Add try-completion to the string shortdoc |
Date: |
Mon, 21 Dec 2020 16:09:07 -0500 (EST) |
branch: master
commit c9a95237a8e5d2c2e8ca3d6c97de8c7b5c1daaac
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
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 9bd0663..7bb7d23 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"))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master c9a9523: Add try-completion to the string shortdoc,
Lars Ingebrigtsen <=