* wesnoth-mode.el: Updated changelog; fixed trailing whitespace and indented
commitd17d159d72cd0414fd22e6a55f14fd81d63ecbe7
authorChris Mann <chris@gnawty.(none)>
Wed, 3 Sep 2008 11:14:33 +0000 (3 20:44 +0930)
committerChris Mann <chris@gnawty.(none)>
Wed, 3 Sep 2008 11:14:33 +0000 (3 20:44 +0930)
treea4de227a613744dbd4a5299122c7e435b6c023cc
parentb9fc271c4b4f8bf57876c89e8a85cd7c353c8bef
* wesnoth-mode.el: Updated changelog; fixed trailing whitespace and indented
  correctly.
  (wesnoth-define-blocks): New variable.
  (wesnoth-font-lock-keywords): Minor clean-up for `wesnoth-preprocessor-face'
  faces.
  (wesnoth-element-closing, wesnoth-element-opening, wesnoth-element): Minor
  regexp clean-up.
  (wesnoth-indent): Rewritten.  Slightly more efficient; more consise;
  simpler.  No longer moves to the end of the line.
  (wesnoth-within-define): Rewritten.  Uses cache of macro definition blocks.
  (wesnoth-find-macro-definitions): New function.  Return information
  regarding macro definition blocks.
  (wesnoth-indent-region): New function.
  (wesnoth-determine-context): Renamed from `wesnoth-ensure-define-separate'.
  Rewritten to use macro definition cache and return more specific information
  regarding the context.
  (wesnoth-mode): Set `indent-region-function' to `wesnoth-indent-region'.
wesnoth-mode.el