jcollard / elm-mode

Elm mode for emacs
GNU General Public License v3.0
373 stars 67 forks source link

Add function to replace inferior-haskell-flash-decl #157

Closed rjosephwright closed 5 years ago

rjosephwright commented 5 years ago

In haskell-mode, there is no longer a function inferior-haskell-flash-decl, so this brings the same functionality into elm-mode as a private function.

This was removed from haskell-mode in https://github.com/haskell/haskell-mode/commit/ca94d814b943afeea5bc418df3773f19be9ac8e3.

purcell commented 5 years ago

This broadly makes sense, but in recent Emacs there's even a function for momentarily highlighting a region, so perhaps we could use that instead? I forget the name right now, sorry.

rjosephwright commented 5 years ago

I found it and pushed a change to use the builtin.

purcell commented 5 years ago

Great, thanks!