projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f329a31
)
Add try-completion to the string shortdoc
author
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 21 Dec 2020 21:08:56 +0000
(22:08 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 21 Dec 2020 21:08:56 +0000
(22:08 +0100)
* lisp/emacs-lisp/shortdoc.el (string): Mention try-completion here.
lisp/emacs-lisp/shortdoc.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/shortdoc.el
b/lisp/emacs-lisp/shortdoc.el
index 9bd06636f4d38efc2bd1e0e02686467a734a8271..7bb7d233b477df68941ea50a233050240a892b9b 100644
(file)
--- 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"))