tonini / alchemist.el

Elixir Tooling Integration Into Emacs
http://www.alchemist-elixir.org
906 stars 103 forks source link

feature/goto-definition-prompts-for-empty-scope #289

Open kisp opened 7 years ago

kisp commented 7 years ago

Hi,

I have a small change here for alchemist-goto-definition-at-point. If no scope can be found, i.e. if (alchemist-scope-expression) returns "", the user is prompted in the minibuffer.

The rationale for this is that sometimes I would like to jump to a definition that is not written somewhere in the current buffer. So instead of writing this into the buffer in order to be able to jump there, I would prefer to write it into the minibuffer.

Could you help to make this pull request even nicer?