From cdff09890fc72335da0d71fa5550922823bae57f Mon Sep 17 00:00:00 2001 From: Chris Mann Date: Thu, 10 Jan 2008 21:34:36 +1030 Subject: [PATCH] * wesnoth-mode.el: Update copyright. (outline-regexp): Changed to macro definitions. --- wesnoth-mode.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wesnoth-mode.el b/wesnoth-mode.el index 17afaeb..01da693 100644 --- a/wesnoth-mode.el +++ b/wesnoth-mode.el @@ -1,5 +1,5 @@ ;; wesnoth-mode.el - A major mode for editing WML. -;; Copyright (C) 2006, 2007 Chris Mann +;; Copyright (C) 2006, 2007, 2008 Chris Mann ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License as @@ -65,6 +65,7 @@ ;; the line. ;; * `wesnoth-check-tag-names' now reports on success. ;; * `wesnoth-insert-tag' is now able to insert tags around a region. +;; * `outline-minor-mode' now works on macro definitions. ;; 1.2.1 ;; * Base indent now defaults to 4. ;; * Added support for #ifndef. @@ -647,7 +648,7 @@ positions of the buffer, respectively." (define-derived-mode wesnoth-mode fundamental-mode "wesnoth-mode" "Major mode for editing WML." (set-syntax-table wesnoth-syntax-table) - (set (make-local-variable 'outline-regexp) "^[\t ]*\\[\\w+") + (set (make-local-variable 'outline-regexp) "[\t ]*#define") (set (make-local-variable 'comment-start) "#") (set (make-local-variable 'indent-line-function) 'wesnoth-indent-line) (set (make-local-variable 'font-lock-defaults) -- 2.11.4.GIT