Skip to content

Commit

Permalink
Always invoke dumb-jump-process-symbol-by-lang
Browse files Browse the repository at this point in the history
  • Loading branch information
phikal committed Aug 15, 2020
1 parent 17bfea4 commit 5bd1146
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 @@ -2135,7 +2135,7 @@ of project configuration."
(config (when (s-ends-with? ".dumbjump" proj-config)
(dumb-jump-read-config proj-root proj-config)))
(found-symbol (or prompt (dumb-jump-get-point-symbol)))
(look-for (or prompt (dumb-jump-process-symbol-by-lang lang found-symbol)))
(look-for (dumb-jump-process-symbol-by-lang lang found-symbol))
(pt-ctx (or (and prompt (get-text-property 0 :dumb-jump-ctx prompt))
(if (and (not prompt) (not (string= cur-line look-for)))
(dumb-jump-get-point-context cur-line look-for look-for-start)
Expand Down

0 comments on commit 5bd1146

Please sign in to comment.