emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] 01/01: javaimp: fix for cases when maven doesn't add xml declarat


From: Filipp Gunbin
Subject: [elpa] 01/01: javaimp: fix for cases when maven doesn't add xml declaration
Date: Tue, 30 Sep 2014 12:59:35 +0000

fgunbin pushed a commit to branch master
in repository elpa.

commit b7569e9d7165730def67c98fe7e77d3440a0b9dc
Author: Filipp Gunbin <address@hidden>
Date:   Tue Sep 30 16:58:56 2014 +0400

    javaimp: fix for cases when maven doesn't add xml declaration
---
 packages/javaimp/javaimp.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/packages/javaimp/javaimp.el b/packages/javaimp/javaimp.el
index 1010d5e..6ddf66c 100644
--- a/packages/javaimp/javaimp.el
+++ b/packages/javaimp/javaimp.el
@@ -221,7 +221,7 @@ with POM"
    (lambda ()
      (let (xml-start-pos xml-end-pos project-extractor)
        (goto-char (point-min))
-       (search-forward "<?xml")
+       (re-search-forward "<\\?xml\\|<project")
        (setq xml-start-pos (match-beginning 0))
        ;; build module tree
        (setq project-extractor



reply via email to

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