summaryrefslogtreecommitdiff
path: root/cider-interaction.el
diff options
context:
space:
mode:
authorMichael Griffiths <mikey@cich.li>2015-02-21 11:18:48 +0000
committerMichael Griffiths <mikey@cich.li>2015-02-21 11:25:55 +0000
commit8a18cf9a081ff7ebd88009db6768498971146b9c (patch)
treeb45206f148e74d8fd9a00fb9be8c0374bbcc8a24 /cider-interaction.el
parentfa13772cc6d2e24b9f156bd874410ec0d76eba73 (diff)
Prefer find-buffer-visiting to get-file-buffer
Fixes #981.
Diffstat (limited to 'cider-interaction.el')
-rw-r--r--cider-interaction.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/cider-interaction.el b/cider-interaction.el
index 037e0bc7..e317a531 100644
--- a/cider-interaction.el
+++ b/cider-interaction.el
@@ -632,7 +632,7 @@ existing file ending with URL has been found."
(file (cider--url-to-file (match-string 2 url)))
(path (cider--file-path file))
(name (format "%s:%s" path entry)))
- (or (get-file-buffer name)
+ (or (find-buffer-visiting name)
(if (tramp-tramp-file-p path)
(progn
;; Use emacs built in archiving