aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorMichael Albinus2025-08-09 14:21:23 +0200
committerMichael Albinus2025-08-09 14:21:23 +0200
commit1fc4bb1fead205e425f69fa803a71f4e446d48a8 (patch)
tree1260132fdf27f7de2ed77daa0e79cc1ae31a00b8 /etc
parent5c8234e3e755141ede16adbd76ad74f5b673bfd3 (diff)
downloademacs-1fc4bb1fead205e425f69fa803a71f4e446d48a8.tar.gz
emacs-1fc4bb1fead205e425f69fa803a71f4e446d48a8.zip
Rename variables *-in-progress-p to *-in-progress
* doc/lispref/backups.texi (Reverting): Fix variable names revert-buffer-in-progress and auto-revert-buffer-in-progress. * etc/NEWS: Fix variable names revert-buffer-in-progress and auto-revert-buffer-in-progress. Presentational fixes and improvements. * lisp/autorevert.el (auto-revert-buffer-in-progress): Rename. (auto-revert-handler, auto-revert-buffer): Use renamed variables. * lisp/dired-x.el (dired-omit-expunge): Use `auto-revert-buffer-in-progress'. * lisp/files.el (revert-buffer-in-progress): Rename. (revert-buffer-in-progress-p): Declare obsolete. (after-find-file, revert-buffer): * lisp/saveplace.el (save-place-find-file-hook) (save-place-dired-hook): * lisp/vc/vc-git.el (vc-git-command, vc-git--out-ok): * lisp/vc/vc.el (vc-diff-internal): Use `revert-buffer-in-progress'. * lisp/net/tramp-sh.el (tramp-sh-handle-vc-registered): Suppress warning.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS14
1 files changed, 12 insertions, 2 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 1600e1ce943..f4fdf3d4eec 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -966,7 +966,7 @@ characters in CJK texts. For example, 'A' is converted to 'A', '1' is
966converted to '1', etc. Companion commands 'halfwidth-region' and 966converted to '1', etc. Companion commands 'halfwidth-region' and
967'halfwidth-word' perform the opposite conversion. 967'halfwidth-word' perform the opposite conversion.
968 968
969** Texinfo Mode 969** Texinfo mode
970 970
971--- 971---
972*** texinfo-mode now can auto-close the ``'' pairs. 972*** texinfo-mode now can auto-close the ``'' pairs.
@@ -2212,6 +2212,16 @@ destination window is chosen using 'display-buffer-alist'. Example:
2212 display-buffer-use-some-window) 2212 display-buffer-use-some-window)
2213 (some-window . mru)))) 2213 (some-window . mru))))
2214 2214
2215** Revert
2216
2217+++
2218*** Variable 'revert-buffer-in-progress' has been renamed.
2219The old name, 'revert-buffer-in-progress-p', is kept as obsolete
2220variable alias.
2221
2222Symbol names with a trailing '-p' are reserved for predicates. Calling
2223a variable like this was a mistake.
2224
2215** Autorevert 2225** Autorevert
2216 2226
2217+++ 2227+++
@@ -2226,7 +2236,7 @@ runs its body, and removes the current buffer from
2226'inhibit-auto-revert-buffers' afterwards. 2236'inhibit-auto-revert-buffers' afterwards.
2227 2237
2228+++ 2238+++
2229*** New variable 'auto-revert-buffer-in-progress-p'. 2239*** New variable 'auto-revert-buffer-in-progress'.
2230'auto-revert-buffer' binds this variable to a non-nil value while it is 2240'auto-revert-buffer' binds this variable to a non-nil value while it is
2231working. This can be used by major mode 'revert-buffer-function' 2241working. This can be used by major mode 'revert-buffer-function'
2232implementations to suppress messages in Auto Revert modes, for example. 2242implementations to suppress messages in Auto Revert modes, for example.