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-hg.el,v [EMACS_22_BASE]


From: Dan Nicolaescu
Subject: [Emacs-diffs] Changes to emacs/lisp/vc-hg.el,v [EMACS_22_BASE]
Date: Sat, 17 May 2008 15:17:13 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     Dan Nicolaescu <dann>   08/05/17 15:16:52

Index: vc-hg.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/vc-hg.el,v
retrieving revision 1.12.2.17
retrieving revision 1.12.2.18
diff -u -b -r1.12.2.17 -r1.12.2.18
--- vc-hg.el    9 Jan 2008 08:49:58 -0000       1.12.2.17
+++ vc-hg.el    17 May 2008 15:16:50 -0000      1.12.2.18
@@ -311,8 +311,8 @@
   (vc-hg-command buffer 0 file "annotate" "-d" "-n" (if version (concat "-r" 
version)))
   (with-current-buffer buffer
     (goto-char (point-min))
-    (re-search-forward "^[0-9]")
-    (delete-region (point-min) (1- (point)))))
+    (re-search-forward "^[ \t]*[0-9]")
+    (delete-region (point-min) (match-beginning 0))))
 
 
 ;; The format for one line output by "hg annotate -d -n" looks like this:




reply via email to

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