summaryrefslogtreecommitdiffstats
path: root/emacs.d/nxhtml/tests/in/bug271497.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/nxhtml/tests/in/bug271497.el')
-rw-r--r--emacs.d/nxhtml/tests/in/bug271497.el14
1 files changed, 14 insertions, 0 deletions
diff --git a/emacs.d/nxhtml/tests/in/bug271497.el b/emacs.d/nxhtml/tests/in/bug271497.el
new file mode 100644
index 0000000..7abe02e
--- /dev/null
+++ b/emacs.d/nxhtml/tests/in/bug271497.el
@@ -0,0 +1,14 @@
+;;; bug271497.el --- For bug report 271497 at Launchpad
+(require 'ada-mode)
+(require 'mumamo)
+
+(eval-and-compile
+ (defun mumamo-chunk-embjava (pos min max)
+ "Find JAVA_ON ... JAVA_OFF, return range and java-mode."
+ (mumamo-quick-static-chunk pos min max "JAVA_ON" "JAVA_OFF" nil 'java-mode nil))
+ )
+
+(define-mumamo-multi-major-mode bug271497-mumamo
+ "docstring"
+ ("ADA Mode" ada-mode
+ (mumamo-chunk-embjava)))