[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 3a5f4c3: minor fixes
From: |
Filipp Gunbin |
Subject: |
[elpa] master 3a5f4c3: minor fixes |
Date: |
Mon, 08 Dec 2014 19:36:52 +0000 |
branch: master
commit 3a5f4c3f61fe2e00199d44510c28c76e5129cea9
Author: Filipp Gunbin <address@hidden>
Date: Mon Dec 8 22:36:50 2014 +0300
minor fixes
---
packages/javaimp/javaimp.el | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/packages/javaimp/javaimp.el b/packages/javaimp/javaimp.el
index cd00476..888f5c1 100644
--- a/packages/javaimp/javaimp.el
+++ b/packages/javaimp/javaimp.el
@@ -278,7 +278,7 @@ with POM"
(setq xml-start-pos (match-beginning 0))
;; determine the start tag
(goto-char (point-min))
- (re-search-forward "<\\(projects?\\)>")
+ (re-search-forward "<\\(projects?\\)")
;; find closing tag which is also the end of the region to parse
(search-forward (concat "</" (match-string 1) ">"))
(setq xml-end-pos (match-end 0))
@@ -448,8 +448,9 @@ MODULE."
;; update timestamps
(javaimp-set-mod-pom-mod-ts
module (javaimp-get-file-ts (javaimp-get-mod-pom-file module)))
- (javaimp-set-mod-parent-ts
- module (javaimp-get-file-ts (javaimp-get-mod-pom-file parent))))
+ (when parent
+ (javaimp-set-mod-parent-ts
+ module (javaimp-get-file-ts (javaimp-get-mod-pom-file parent)))))
(javaimp-get-mod-pom-deps module))
(defun javaimp-get-jdk-jars ()
@@ -548,7 +549,7 @@ module."
(javaimp-get-jdk-jars)))
(and javaimp-include-current-project-classes
(javaimp-get-module-classes module)))
- nil t nil nil (word-at-point)))))
+ nil t nil nil (symbol-name (symbol-at-point))))))
(javaimp-organize-imports classname))
(defun javaimp-get-module-classes (module)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] master 3a5f4c3: minor fixes,
Filipp Gunbin <=