Skip to content

Instantly share code, notes, and snippets.

@mattdeboard
Created August 25, 2014 23:57
Show Gist options
  • Save mattdeboard/13ba62b5568d316a9114 to your computer and use it in GitHub Desktop.
Save mattdeboard/13ba62b5568d316a9114 to your computer and use it in GitHub Desktop.
(defun elixir-smie--in-match-block ()
(save-excursion
(let ((start (point)))
(search-backward-regexp elixir-smie--block-operator-regexp)
;; `here' is the point of the first character in `->'.
(let ((here (point)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment