Fix looking-at-p example in shortdoc.el
* lisp/emacs-lisp/shortdoc.el (regexp): Use `looking-at-p' instead of `looking-at' (bug#48709).
This commit is contained in:
parent
0eef929cbf
commit
651394d845
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue