[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 651394d: Fix looking-at-p example in shortdoc.el
From: |
Lars Ingebrigtsen |
Subject: |
master 651394d: Fix looking-at-p example in shortdoc.el |
Date: |
Thu, 27 May 2021 19:45:42 -0400 (EDT) |
branch: master
commit 651394d8457247752c9b21ce5cf16414eb7a0d2b
Author: Daniel MartÃn <mardani29@yahoo.es>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Fix looking-at-p example in shortdoc.el
* lisp/emacs-lisp/shortdoc.el (regexp): Use `looking-at-p' instead of
`looking-at' (bug#48709).
---
lisp/emacs-lisp/shortdoc.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/emacs-lisp/shortdoc.el b/lisp/emacs-lisp/shortdoc.el
index 0320e17..652806e 100644
--- a/lisp/emacs-lisp/shortdoc.el
+++ b/lisp/emacs-lisp/shortdoc.el
@@ -666,7 +666,7 @@ There can be any number of :example/:result elements."
:no-eval (re-search-backward "^foo$" nil t)
:eg-result 43)
(looking-at-p
- :no-eval (looking-at "f[0-9]")
+ :no-eval (looking-at-p "f[0-9]")
:eg-result t)
"Match Data"
(match-string
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 651394d: Fix looking-at-p example in shortdoc.el,
Lars Ingebrigtsen <=