# HG changeset patch # User Dan Nicolaescu # Date 1233427136 0 # Node ID e5e2e4109ea1dbfa2738f306509f1ab1afcb0366 # Parent 3f1db2aeea5aae5c2cbbd15a7f6711c2ad8c199d (vc-dir-mode): Fix docstring. diff -r 3f1db2aeea5a -r e5e2e4109ea1 lisp/ChangeLog --- a/lisp/ChangeLog Sat Jan 31 17:26:53 2009 +0000 +++ b/lisp/ChangeLog Sat Jan 31 18:38:56 2009 +0000 @@ -13,6 +13,7 @@ (vc-default-dir-printer): (vc-dir-find-file-other-window): Undo previous change, it breaks the behavior of mouse-2. + (vc-dir-mode): Fix docstring. * vc-svn.el (vc-svn-dir-status): Disable the vc-stay-local-p logic, it makes the makes the normal case too slow. diff -r 3f1db2aeea5a -r e5e2e4109ea1 lisp/vc-dir.el --- a/lisp/vc-dir.el Sat Jan 31 17:26:53 2009 +0000 +++ b/lisp/vc-dir.el Sat Jan 31 18:38:56 2009 +0000 @@ -876,13 +876,13 @@ (define-derived-mode vc-dir-mode special-mode "VC dir" "Major mode for VC directory buffers. Marking/Unmarking key bindings and actions: -m - marks a file/directory or if the region is active, mark all the files - in region. +m - mark a file/directory + - if the region is active, mark all the files in region. Restrictions: - a file cannot be marked if any parent directory is marked - a directory cannot be marked if any child file or directory is marked -u - marks a file/directory or if the region is active, unmark all the files - in region. +u - unmark a file/directory + - if the region is active, unmark all the files in region. M - if the cursor is on a file: mark all the files with the same state as the current file - if the cursor is on a directory: mark all child files @@ -891,10 +891,12 @@ as the current file - if the cursor is on a directory: unmark all child files - with a prefix argument: unmark all files +mouse-2 - toggles the mark state VC commands -VC commands in the `C-x v' can be used, they act on the marked -entries, or on the current entry if nothing is marked. +VC commands in the `C-x v' prefix can be used. +VC commands act on the marked entries. If nothing is marked, VC +commands act on the current entry. Search & Replace S - searches the marked files @@ -903,8 +905,8 @@ M-s a C-M-s - does a regexp isearch on the marked files If nothing is marked, these commands act on the current entry. When a directory is current or marked, the Search & Replace -commands act on the files in those directories displayed in the -*vc-dir* buffer. +commands act on the child files of that directory that are displayed in +the *vc-dir* buffer. \\{vc-dir-mode-map}" (set (make-local-variable 'vc-dir-backend) use-vc-backend)