Skip to content

Commit

Permalink
[Fix clojure-emacs#2148] retry travis ci for byte comile error (cloju…
Browse files Browse the repository at this point in the history
  • Loading branch information
soulawaker committed Jan 8, 2018
1 parent 8f4f8ae commit 94b5a6e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cider-common.el
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ existing file ending with URL has been found."
(when-let* ((entry (match-string 3 url))
(file (cider--url-to-file (match-string 2 url)))
(path (cider--file-path file))
(trash (replace-regexp-in-string "^/.+/" "" path))
(name (format "%s:%s" path entry)))
(or (find-buffer-visiting name)
(if (tramp-tramp-file-p path)
Expand All @@ -232,7 +233,7 @@ existing file ending with URL has been found."
;; moves up to matching line
(forward-line -1)
(archive-extract)
(kill-buffer (previous-buffer))
(kill-buffer trash)
(current-buffer))
;; Use external zip program to just extract the single file
(with-current-buffer (generate-new-buffer
Expand Down

0 comments on commit 94b5a6e

Please sign in to comment.