]> git.eshelyaron.com Git - emacs.git/commitdiff
Merge from origin/emacs-29
authorEli Zaretskii <eliz@gnu.org>
Sat, 24 Jun 2023 10:57:25 +0000 (06:57 -0400)
committerEli Zaretskii <eliz@gnu.org>
Sat, 24 Jun 2023 10:57:25 +0000 (06:57 -0400)
8f62e7b85f6 Describe primarily the Emacs s-exp dialect for treesit qu...
eacd75df4e4 ; Improve documentation of overlay priorities
b3f11e94fad Fix documentation of :predicate in 'define-globalized-min...

1  2 
doc/lispref/modes.texi
doc/lispref/parsing.texi
lisp/emacs-lisp/easy-mmode.el

Simple merge
index 1ec985f6d70db9782e9ec98894e4d5391a0e651a,9e1df07d25cc492b23a894772e422d6775f12fe3..3bb5071f02ffc0476f95df080ae8543cf94e5378
@@@ -1351,15 -1302,15 +1349,16 @@@ strings or capture names.  Capture name
  captured node spans in the buffer.
  @end deffn
  
- @deffn Predicate match regexp capture-name
+ @deffn Predicate :match regexp capture-name
  Matches if the text that @var{capture-name}'s node spans in the buffer
- matches regular expression @var{regexp}.  Matching is case-sensitive.
+ matches regular expression @var{regexp}, given as a string literal.
+ Matching is case-sensitive.
  @end deffn
  
- @deffn Predicate pred fn &rest nodes
+ @deffn Predicate :pred fn &rest nodes
  Matches if function @var{fn} returns non-@code{nil} when passed each
 -node in @var{nodes} as arguments.
 +node in @var{nodes} as arguments.  The function runs with the current
 +buffer set to the buffer of node being queried.
  @end deffn
  
  Note that a predicate can only refer to capture names that appear in
Simple merge