From: Daniel Martín Date: Thu, 27 May 2021 23:45:28 +0000 (+0200) Subject: Fix looking-at-p example in shortdoc.el X-Git-Tag: emacs-28.0.90~2303 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=651394d8457247752c9b21ce5cf16414eb7a0d2b;p=emacs.git Fix looking-at-p example in shortdoc.el * lisp/emacs-lisp/shortdoc.el (regexp): Use `looking-at-p' instead of `looking-at' (bug#48709). --- diff --git a/lisp/emacs-lisp/shortdoc.el b/lisp/emacs-lisp/shortdoc.el index 0320e171825..652806ea280 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