* wesnoth-mode.el (wesnoth-insert-tag): Fix a bug where nesting will be broken
commitc3452088357256afa1be7a877fb900784ddc9bc1
authorChris Mann <chris@gnawty.home>
Sun, 2 Nov 2008 02:50:08 +0000 (2 13:20 +1030)
committerChris Mann <chris@gnawty.home>
Sun, 2 Nov 2008 02:50:08 +0000 (2 13:20 +1030)
tree316dd2906184b8fcebbfdd8efa29aae35248bc88
parent5db2a953d9d35ea97d2c4b2f0278e9a39415c2dd
* wesnoth-mode.el (wesnoth-insert-tag): Fix a bug where nesting will be broken
  if elements exceeds the number available and the last tag is at the end of
  the buffer.
  (wesnoth-nth-pair-position): Remove broken hack which attempted to fix this
  bug.
  (wesnoth-determine-context): Ensure match is available before using
  `match-string' -- avoids potential error.
wesnoth-mode.el