From 421f0bfe8e2a798dc6605a439f9a1f268ef15f8d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Spiegel?= Date: Sun, 5 Apr 1998 18:54:35 +0000 Subject: [PATCH] (vc-dired-mode): Make dired-after-readin-hook a local hook, not a local variable. --- lisp/vc.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/vc.el b/lisp/vc.el index 4751b0de090..151cee9a6b5 100644 --- a/lisp/vc.el +++ b/lisp/vc.el @@ -5,7 +5,7 @@ ;; Author: Eric S. Raymond ;; Maintainer: Andre Spiegel -;; $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 @@ is redefined as the version control prefix, so that you can type 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) -- 2.39.2