changeset 8556:04a87d0e4a62

(after-find-file): New arg renamed to after-find-file-from-revert-buffer.
author Richard M. Stallman <rms@gnu.org>
date Wed, 17 Aug 1994 21:46:05 +0000
parents f1b1537ed3f6
children e8b82da14fd7
files lisp/files.el
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Wed Aug 17 21:44:49 1994 +0000
+++ b/lisp/files.el	Wed Aug 17 21:46:05 1994 +0000
@@ -740,14 +740,16 @@
 	  (after-find-file error (not nowarn))))
       buf)))
 
-(defun after-find-file (&optional error warn noauto from-revert-buffer)
+(defun after-find-file (&optional error warn noauto
+				  after-find-file-from-revert-buffer)
   "Called after finding a file and by the default revert function.
 Sets buffer mode, parses local variables.
 Optional args ERROR, WARN, and NOAUTO: ERROR non-nil means there was an
 error in reading the file.  WARN non-nil means warn if there
 exists an auto-save file more recent than the visited file.
 NOAUTO means don't mess with auto-save mode.
-FROM-REVERT-BUFFER means this call was from `revert-buffer'.
+Fourth arg AFTER-FIND-FILE-FROM-REVERT-BUFFER non-nil
+ means this call was from `revert-buffer'.
 Finishes by calling the functions in `find-file-hooks'."
   (setq buffer-read-only (not (file-writable-p buffer-file-name)))
   (if noninteractive