aboutsummaryrefslogtreecommitdiffhomepage
path: root/dev/objects.el
diff options
context:
space:
mode:
Diffstat (limited to 'dev/objects.el')
-rw-r--r--dev/objects.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev/objects.el b/dev/objects.el
index 46ea2dea0..b3a2694d2 100644
--- a/dev/objects.el
+++ b/dev/objects.el
@@ -1,3 +1,15 @@
+(defun add-survive-module nil
+ (interactive)
+ (query-replace-regexp
+ "
+\\([ ]*\\)\\(Summary\.\\)?survive_section"
+ "
+\\1\\2survive_module = false;
+\\1\\2survive_section")
+ )
+
+(global-set-key [f2] 'add-survive-module)
+
; functions to change old style object declaration to new style
(defun repl-open nil