summaryrefslogtreecommitdiffstats
path: root/emacs.d/nxhtml/tests/in/bug271497.el
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2011-03-07 09:04:49 +0100
committerGravatar Tom Willemsen2011-03-07 09:04:49 +0100
commit94d2fc1815a919734353c942f224db1de4b4fcb8 (patch)
tree4168e816ead132bfa3510e272427837c3895f5e2 /emacs.d/nxhtml/tests/in/bug271497.el
parentd0e7674fdb1de12c8de202d4028a5d7ed3669a6e (diff)
downloaddotfiles-94d2fc1815a919734353c942f224db1de4b4fcb8.tar.gz
dotfiles-94d2fc1815a919734353c942f224db1de4b4fcb8.zip
Django, org
* Added nxhtml, mostly for django support. * Changed some org settings.
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)))