changeset 21370:e8224143df73

(vc-dired-mode): Make dired-after-readin-hook a local hook, not a local variable.
author André Spiegel <spiegel@gnu.org>
date Sun, 05 Apr 1998 18:54:35 +0000
parents 9ca6953d7ce8
children 22a3be0ae9dc
files lisp/vc.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc.el	Sun Apr 05 18:47:51 1998 +0000
+++ b/lisp/vc.el	Sun Apr 05 18:54:35 1998 +0000
@@ -5,7 +5,7 @@
 ;; Author:     Eric S. Raymond <esr@snark.thyrsus.com>
 ;; Maintainer: Andre Spiegel <spiegel@inf.fu-berlin.de>
 
-;; $Id: vc.el,v 1.217 1998/04/05 18:43:15 spiegel Exp spiegel $
+;; $Id: vc.el,v 1.218 1998/04/05 18:45:06 spiegel Exp spiegel $
 
 ;; This file is part of GNU Emacs.
 
@@ -1603,8 +1603,8 @@
 the file named in the current Dired buffer line.  `vv' invokes
 `vc-next-action' on this file, or on all files currently marked.
 There is a special command, `*l', to mark all files currently locked."
-  (make-local-variable 'dired-after-readin-hook)
-  (add-hook 'dired-after-readin-hook 'vc-dired-hook)
+  (make-local-hook 'dired-after-readin-hook)
+  (add-hook 'dired-after-readin-hook 'vc-dired-hook nil t)
   (setq vc-dired-mode t))
 
 (define-key vc-dired-mode-map "\C-xv" vc-prefix-map)