From: André Spiegel Date: Sun, 5 Apr 1998 18:54:35 +0000 (+0000) Subject: (vc-dired-mode): Make dired-after-readin-hook a local hook, not a local variable. X-Git-Tag: emacs-20.3~1704 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=421f0bfe8e2a798dc6605a439f9a1f268ef15f8d;p=emacs.git (vc-dired-mode): Make dired-after-readin-hook a local hook, not a local variable. --- 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)