* wesnoth-mode.el (wesnoth-indent-preprocessor-bol): New custom variable.
commit6ccf933776f5f7769d5added180fc1f0471246b7
authorChris Mann <chris@gnawty.home>
Sat, 27 Dec 2008 01:13:50 +0000 (27 11:43 +1030)
committerChris Mann <chris@gnawty.home>
Sat, 27 Dec 2008 01:13:50 +0000 (27 11:43 +1030)
tree3cf0ed07487dbac88d786766b7c5c309297d6fb5
parentb51ff9d9d4ce6ea3a02ac1269f1eafbed0ea315d
* wesnoth-mode.el (wesnoth-indent-preprocessor-bol): New custom variable.
  (wesnoth-guess-element-type): Only match partial preprocessor statements.
  (wesnoth-complete-preprocessor): Fix a bug where the bound for the region
  to delete may be on the wrong side of point.
  (wesnoth-complete-tag): Fix a bug where details may not exist.
  (wesnoth-first-column-indent-p): Use `wesnoth-indent-preprocessor-bol'.
  (wesnoth-indent): Support #enddef when `wesnoth-indent-preprocessor-bol' is
  nil.
wesnoth-mode.el