diff options
author | Daniel MartÃn <mardani29@yahoo.es> | 2021-05-28 01:45:28 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-05-28 01:45:28 +0200 |
commit | 651394d8457247752c9b21ce5cf16414eb7a0d2b (patch) | |
tree | 871b330b0cc5a712fcae65c4be70e433b96774c8 /lisp/emacs-lisp/shortdoc.el | |
parent | 0eef929cbf0fd6b55130b6c7dc287be548bf97d5 (diff) | |
download | emacs-651394d8457247752c9b21ce5cf16414eb7a0d2b.tar.gz emacs-651394d8457247752c9b21ce5cf16414eb7a0d2b.tar.bz2 emacs-651394d8457247752c9b21ce5cf16414eb7a0d2b.zip |
Fix looking-at-p example in shortdoc.el
* lisp/emacs-lisp/shortdoc.el (regexp): Use `looking-at-p' instead of
`looking-at' (bug#48709).
Diffstat (limited to 'lisp/emacs-lisp/shortdoc.el')
-rw-r--r-- | lisp/emacs-lisp/shortdoc.el | 2 |
1 files changed, 1 insertions, 1 deletions
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 |