aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/files.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 436aa8509c..154ec33098 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -2180,6 +2180,9 @@ to nil.
Optional second argument NOCONFIRM means don't ask for confirmation at
all.
+Optional third argument PRESERVE-MODES non-nil means don't alter
+the files modes. Normally we reinitialize them using `normal-mode'.
+
If the value of `revert-buffer-function' is non-nil, it is called to
do the work.