* wesnoth-mode.el (wesnoth-find-next): New function.
commita0f6043f6620170b7cbcb376ac7dbb97345bcc75
authorChris Mann <chris@gnawty.home>
Sat, 29 Nov 2008 01:15:24 +0000 (29 11:45 +1030)
committerChris Mann <chris@gnawty.home>
Sat, 29 Nov 2008 01:15:24 +0000 (29 11:45 +1030)
treedf14c539cd95fe0cdb591646b8ebbbecc4886ae1
parent674fde9fd6886ea32b8c0020bab4bba58be504ac
* wesnoth-mode.el (wesnoth-find-next): New function.
  (wesnoth-next-element): Return element details and preserve the match-data.
  (wesnoth-element-type): Updated preprocessor and comment regexps.  Modify
  match-data as needed.
  (wesnoth-parent-tag): Return t if tag is immediately within a macro.
  (wesnoth-complete-tag): Bug reoccurred.  Hopefully now fixed.
  (wesnoth-find-macro-definitions): Updated regexp.
  (wesnoth-check-wml): Now checks every element.  Fixed a bug where
  preprocessor statements unmatched would be reported as closing tags.
wesnoth-mode.el