]> git.eshelyaron.com Git - emacs.git/commit
(help-fns--first-release): Try and avoid false positives
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 18 Jul 2022 21:39:55 +0000 (17:39 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 19 Jul 2022 02:22:34 +0000 (22:22 -0400)
commitc32212bf966523e3a3153c5ad2c131d140aeff8a
tree9b86675ba0f4eb4d847647d4f2b9dc8d467ba86c
parent6692df0279782a9956acf4f97a421d8775cf32a6
(help-fns--first-release): Try and avoid false positives

We used to use a very "optimistic" regexp which worked well for
longish symbol names but suffered from too many false positives on
short names.  Use a more restrictive regexp, which should make the
recent "weed out" change unnecessary.

This in turn requires the use of '...' more consistently in etc/NEWS* files.

* lisp/help-fns.el (help-fns--first-release-regexp): New function.
(help-fns--first-release): Use it.  Fix minor issue with the Emacs
version regexp.
(help-fns--mention-first-release): Undo last change.

* etc/NEWS*: Replace `...' with '...'.  Indent code examples by at
least 2 spaces. Add previously missing '...' quotes around many of
the variables and functions described.
14 files changed:
etc/NEWS
etc/NEWS.1-17
etc/NEWS.18
etc/NEWS.19
etc/NEWS.20
etc/NEWS.21
etc/NEWS.22
etc/NEWS.23
etc/NEWS.24
etc/NEWS.25
etc/NEWS.26
etc/NEWS.27
etc/NEWS.28
lisp/help-fns.el