summaryrefslogtreecommitdiff
path: root/lisp/wdired.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2008-08-20 22:48:55 +0000
committerChong Yidong <cyd@stupidchicken.com>2008-08-20 22:48:55 +0000
commitb74dc575a730305e7ce3656953fad1e0d94879dd (patch)
treef81160d18ef7732d2a92c45e7596b45801305c2d /lisp/wdired.el
parent23a1fff0f4909211b650e8e57cb4d21d983d1c2f (diff)
downloademacs-b74dc575a730305e7ce3656953fad1e0d94879dd.tar.gz
Revert last change.
Diffstat (limited to 'lisp/wdired.el')
-rw-r--r--lisp/wdired.el10
1 files changed, 0 insertions, 10 deletions
diff --git a/lisp/wdired.el b/lisp/wdired.el
index f2f863ef971..e2d6a4b85b8 100644
--- a/lisp/wdired.el
+++ b/lisp/wdired.el
@@ -207,7 +207,6 @@ program `dired-chmod-program', which must exist."
(defvar wdired-col-perm) ;; Column where the permission bits start
(defvar wdired-old-content)
(defvar wdired-old-point)
-(defvar wdired-old-auto-revert-mode nil)
(defun wdired-mode ()
@@ -243,10 +242,6 @@ See `wdired-mode'."
(buffer-substring (point-min) (point-max)))
(set (make-local-variable 'wdired-old-point) (point))
(set (make-local-variable 'query-replace-skip-read-only) t)
- (when (and (boundp 'auto-revert-mode)
- auto-revert-mode)
- (set (make-local-variable 'wdired-old-auto-revert-mode) t)
- (auto-revert-mode 0))
(use-local-map wdired-mode-map)
(force-mode-line-update)
(setq buffer-read-only nil)
@@ -354,11 +349,6 @@ non-nil means return old filename."
(setq mode-name "Dired")
(dired-advertise)
(remove-hook 'kill-buffer-hook 'wdired-check-kill-buffer t)
- (when wdired-old-auto-revert-mode
- (kill-local-variable 'wdired-old-auto-revert-mode)
- (and (boundp 'auto-revert-mode)
- (null auto-revert-mode)
- (auto-revert-mode 1)))
(set (make-local-variable 'revert-buffer-function) 'dired-revert))