diff options
author | Michael Griffiths <mikey@cich.li> | 2015-02-21 11:18:48 +0000 |
---|---|---|
committer | Michael Griffiths <mikey@cich.li> | 2015-02-21 11:25:55 +0000 |
commit | 8a18cf9a081ff7ebd88009db6768498971146b9c (patch) | |
tree | b45206f148e74d8fd9a00fb9be8c0374bbcc8a24 /cider-interaction.el | |
parent | fa13772cc6d2e24b9f156bd874410ec0d76eba73 (diff) |
Prefer find-buffer-visiting to get-file-buffer
Fixes #981.
Diffstat (limited to 'cider-interaction.el')
-rw-r--r-- | cider-interaction.el | 2 |
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 |