emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/vc.el,v


From: Sam Steingold
Subject: [Emacs-diffs] Changes to emacs/lisp/vc.el,v
Date: Tue, 29 Apr 2008 13:42:17 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Sam Steingold <sds>     08/04/29 13:42:16

Index: vc.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/vc.el,v
retrieving revision 1.592
retrieving revision 1.593
diff -u -b -r1.592 -r1.593
--- vc.el       27 Apr 2008 19:52:13 -0000      1.592
+++ vc.el       29 Apr 2008 13:42:15 -0000      1.593
@@ -832,6 +832,12 @@
   :type 'hook
   :group 'vc)
 
+(defcustom vc-dir-mode-hook nil
+  "Normal hook run by `vc-dir-mode'.
+See `run-hooks'."
+  :type 'hook
+  :group 'vc)
+
 ;; Annotate customization
 (defcustom vc-annotate-color-map
   (if (and (tty-display-color-p) (<= (display-color-cells) 8))
@@ -3046,7 +3052,8 @@
     ;; Make sure that if the VC status buffer is killed, the update
     ;; process running in the background is also killed.
     (add-hook 'kill-buffer-query-functions 'vc-dir-kill-query nil t)
-    (vc-dir-refresh)))
+    (vc-dir-refresh))
+  (run-hooks 'vc-dir-mode-hook))
 
 (put 'vc-dir-mode 'mode-class 'special)
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]