summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-08-28 07:37:42 +0000
committerRichard M. Stallman <rms@gnu.org>1994-08-28 07:37:42 +0000
commitf7d786d0cb3cdaa61c10dfcbf0180192e4d75938 (patch)
treefa4e5978409cd7bd71e4e08b953e0e0f22a47f2f /lisp
parentb9a7407ff9d83222a02f083731f2b824960b7f7e (diff)
downloademacs-f7d786d0cb3cdaa61c10dfcbf0180192e4d75938.tar.gz
(after-find-file-from-revert-buffer): Add defvar.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/files.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/files.el b/lisp/files.el
index fda91c047cd..085682a05a7 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -740,6 +740,8 @@ The buffer is not selected, just returned to the caller."
(after-find-file error (not nowarn))))
buf)))
+(defvar after-find-file-from-revert-buffer nil)
+
(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.