@@ -2887,7 +2887,7 @@ error in reading the file. WARN non-nil means warn if there
2887
2887
exists an auto-save file more recent than the visited file.
2888
2888
NOAUTO means don't mess with auto-save mode.
2889
2889
Fourth arg AFTER-FIND-FILE-FROM-REVERT-BUFFER is ignored
2890
- \(see `revert-buffer-in-progress-p ' for similar functionality).
2890
+ \(see `revert-buffer-in-progress' for similar functionality).
2891
2891
Fifth arg NOMODES non-nil means don't alter the file's modes.
2892
2892
Finishes by calling the functions in `find-file-hook'
2893
2893
unless NOMODES is non-nil."
@@ -7107,9 +7107,10 @@ hook functions.
7107
7107
The function `revert-buffer--default' runs this.
7108
7108
A customized `revert-buffer-function' need not run this hook.")
7109
7109
7110
- (defvar revert-buffer-in-progress-p nil
7110
+ (defvar revert-buffer-in-progress nil
7111
7111
"Non-nil if a `revert-buffer' operation is in progress, nil otherwise.")
7112
-
7112
+ (define-obsolete-variable-alias
7113
+ 'revert-buffer-in-progress-p 'revert-buffer-in-progress "31.1")
7113
7114
(defvar revert-buffer-internal-hook)
7114
7115
7115
7116
;; `revert-buffer-function' was defined long ago to be a function of only
@@ -7168,7 +7169,7 @@ revert buffers without querying for confirmation.)
7168
7169
Optional third argument PRESERVE-MODES non-nil means don't alter
7169
7170
the files modes. Normally we reinitialize them using `normal-mode'.
7170
7171
7171
- This function binds `revert-buffer-in-progress-p ' non-nil while it operates.
7172
+ This function binds `revert-buffer-in-progress' non-nil while it operates.
7172
7173
7173
7174
This function calls the function that `revert-buffer-function' specifies
7174
7175
to do the work, with arguments IGNORE-AUTO and NOCONFIRM.
@@ -7189,7 +7190,7 @@ preserve markers and overlays, at the price of being slower."
7189
7190
;; reversal of the argument sense. So I'm just changing the user
7190
7191
;; interface, but leaving the programmatic interface the same.
7191
7192
(interactive (list (not current-prefix-arg)))
7192
- (let ((revert-buffer-in-progress-p t)
7193
+ (let ((revert-buffer-in-progress t)
7193
7194
(revert-buffer-preserve-modes preserve-modes)
7194
7195
restore-functions)
7195
7196
(run-hook-wrapped 'revert-buffer-restore-functions
0 commit comments