Skip to content

Commit

Permalink
fix jumping to unsaved buffer bug when using git-grep (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacktasia authored Feb 15, 2018
1 parent 3bd7c23 commit 3b172e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dumb-jump.el
Original file line number Diff line number Diff line change
Expand Up @@ -1875,7 +1875,7 @@ Ffrom the ROOT project CONFIG-FILE."
(buffer-file-name it)
(file-exists-p (buffer-file-name it)))
(buffer-list))))
(member path (--map (buffer-file-name it) modified-file-buffers))))
(member (f-full path) (--map (buffer-file-name it) modified-file-buffers))))

(defun dumb-jump-result-follow (result &optional use-tooltip proj)
"Take the RESULT to jump to and record the jump, for jumping back, and then trigger jump. Prompt if we should continue if destentation has been modified."
Expand Down

0 comments on commit 3b172e2

Please sign in to comment.