]> code.delx.au - gnu-emacs-elpa/commit
Simplify string matching.
authorNoam Postavsky <npostavs@users.sourceforge.net>
Mon, 12 Oct 2015 01:23:36 +0000 (21:23 -0400)
committerNoam Postavsky <npostavs@users.sourceforge.net>
Mon, 12 Oct 2015 01:23:36 +0000 (21:23 -0400)
commit35642ac007a63aa7bc6c50fc6fc5688bfb3b057b
tree8459f57ce4428ac8ef6676c057c27a7efdcd9ebf
parent72c6c4cd7b0e58631e0963ea5345890e1b0aa04b
Simplify string matching.

* yasnippet.el (yas--field-parse-create): Use string-match-p to instead
  of save-match-data, anchor regexp with \` (start of string) to instead
  of (eq ... 0)
yasnippet.el