summaryrefslogtreecommitdiff
path: root/etc/NEWS.25
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2022-07-18 17:39:55 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2022-07-18 22:22:34 -0400
commitc32212bf966523e3a3153c5ad2c131d140aeff8a (patch)
tree9b86675ba0f4eb4d847647d4f2b9dc8d467ba86c /etc/NEWS.25
parent6692df0279782a9956acf4f97a421d8775cf32a6 (diff)
downloademacs-c32212bf966523e3a3153c5ad2c131d140aeff8a.tar.gz
(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.
Diffstat (limited to 'etc/NEWS.25')
-rw-r--r--etc/NEWS.256
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/NEWS.25 b/etc/NEWS.25
index 21fcd052dce..d1e43e0538e 100644
--- a/etc/NEWS.25
+++ b/etc/NEWS.25
@@ -550,8 +550,8 @@ When you invoke 'shell' interactively, the '*shell*' buffer will now
display in a new window. However, you can customize this behavior via
the 'display-buffer-alist' variable. For example, to get
the old behavior -- '*shell*' buffer displays in current window -- use
-(add-to-list 'display-buffer-alist
- '("^\\*shell\\*$" . (display-buffer-same-window))).
+ (add-to-list 'display-buffer-alist
+ '("\\`\\*shell\\*\\'" . (display-buffer-same-window))).
** EIEIO
*** The ':protection' slot option is not obeyed any more.
@@ -1264,7 +1264,7 @@ SWITCH-BUFFER to 'completion-table-dynamic'.
** window-configurations no longer record the buffers' marks.
-** 'inhibit-modification-hooks' now also inhibits lock-file checks, as
+** 'inhibit-modification-hooks' now also inhibits 'lock-file' checks, as
well as active region handling.
** 'deactivate-mark' is now buffer-local.