Subject: 28.0.50; [PATCH] Fix example of looking-at-p in shortdoc.el

From: Daniel Martín <[email-masked]>
Date: Fri, 28 May 2021 00:55:17 +0200

There is a small typo in the usage example of the looking-at-p function.
Patch is attached.  Thanks.

>From f308cbfb14cbfd0f9a4ce79c7dfc30f899962fb1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Mart=C3=ADn?= <[email-masked]>
Date: Fri, 28 May 2021 00:46:26 +0200
Subject: [PATCH] Fix looking-at-p example in shortdoc.el

* lisp/emacs-lisp/shortdoc.el (regexp): Use `looking-at-p' instead of
`looking-at'.
---
 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 0320e17182..652806ea28 100644
--- a/lisp/emacs-lisp/shortdoc.el
+++ b/lisp/emacs-lisp/shortdoc.el
@@ -666,7 +666,7 @@ regexp
    :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
-- 
2.31.0