* wesnoth-mode.el (wesnoth-mode-map): Added C-c C-u binding to update macro information.
commit70cf5f3241b32f3a28961c8265dd3056158b83af
authorChris Mann <chris@gnawty.home>
Sat, 18 Oct 2008 23:10:04 +0000 (19 09:40 +1030)
committerChris Mann <chris@gnawty.home>
Sat, 18 Oct 2008 23:10:04 +0000 (19 09:40 +1030)
tree0ec6d8d38845c19857146da2341e00e006a29990
parent4ffb2f2dcab30df21e3ef18164140f435c0ff601
* wesnoth-mode.el (wesnoth-mode-map): Added C-c C-u binding to update macro information.
  (wesnoth-menu): Also added it to the menu.
  (wesnoth-element-opening, wesnoth-element): Updated to fix a bug not matching
  [+text] tags.
  (wesnoth-macro-arguments): Allow tags; multiple spaces between arguments.
  (wesnoth-insert-tag): Only insert extra space if point will be positioned
  there (therefore, not #define or #ifn?def).
  (wesnoth-insert-element-separately): Avoid leaving extra space if used
  immediately after an element.
  (wesnoth-check-element-type): Ensure previous match data used when checking
  member'ship.
  (wesnoth-extract-macro-details): New function.
  (wesnoth-check-wml): Check macros separately.  Check macro arguments.  Fixed
  a bug where not all macros were checked.  Don't check strings.  Check
  preprocessor has arguments when necessary.
wesnoth-mode.el