1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

(vc-svn-after-dir-status): Use shy group for revision

number as it isn't present for unregistered files.
This commit is contained in:
Nick Roberts 2009-02-10 06:03:07 +00:00
parent f8d5a47f5c
commit af02d73901
2 changed files with 10 additions and 7 deletions

View File

@ -1,3 +1,12 @@
2009-02-10 Nick Roberts <nickrob@snap.net.nz>
* vc-svn.el (vc-svn-after-dir-status): Use shy group for revision
number as it isn't present for unregistered files.
* vc-dir.el (vc-dir-find-file-other-window): Allow mouse events.
(vc-dir-mouse-map): New keymap.
(vc-default-dir-printer): Use it locally.
2009-02-10 Glenn Morris <rgm@gnu.org>
* speedbar.el: Avoid messing up font-lock-global-modes.
@ -193,12 +202,6 @@
(turn-off-xterm-mouse-tracking-on-terminal): Do not turn on the
mode on the initial terminal.
2009-02-05 Nick Roberts <nickrob@snap.net.nz>
* vc-dir.el (vc-dir-find-file-other-window): Allow mouse events.
(vc-dir-mouse-map): New keymap.
(vc-default-dir-printer): Use it locally.
2009-02-05 Glenn Morris <rgm@gnu.org>
* mail/rmail.el (rmail-what-message, rmail-duplicate-message):

View File

@ -164,7 +164,7 @@ want to force an empty list of arguments, use t."
(?? . unregistered)
;; This is what vc-svn-parse-status does.
(?~ . edited)))
(re (if remote "^\\(.\\)..... \\([ *]\\) +[-0-9]+ +\\(.*\\)$"
(re (if remote "^\\(.\\)..... \\([ *]\\) +\\(?:[-0-9]+\\)? +\\(.*\\)$"
;; Subexp 2 is a dummy in this case, so the numbers match.
"^\\(.\\)....\\(.\\) \\(.*\\)$"))
result)