We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbb9154 commit 518c4a3Copy full SHA for 518c4a3
dumb-jump.el
@@ -2112,8 +2112,7 @@ to keep looking for another root."
2112
(dumb-jump-git-grep-installed?)
2113
(dumb-jump-grep-installed?)))
2114
(dumb-jump-issue-result "nogrep"))
2115
- ((or (string= (buffer-name) "*shell*")
2116
- (string= (buffer-name) "*eshell*"))
+ ((derived-mode-p 'shell-mode 'eshell-mode)
2117
(dumb-jump-fetch-shell-results prompt))
2118
((and (not prompt) (not (region-active-p)) (not (thing-at-point 'symbol)))
2119
(dumb-jump-issue-result "nosymbol"))
0 commit comments