Update to 8.0.0.
[riece] / lisp / riece-develop.el
index 87d4de3..4084268 100644 (file)
@@ -1,9 +1,5 @@
-(defun riece-insert-struct-template (prefix struct)
-  (interactive "sPrefix: 
-sStruct: ")
-  (if (and prefix
-          (not (string-match "-\\'" prefix)))
-      (setq prefix (concat prefix "-")))
+(defun riece-insert-struct-template (prefix struct) -*- lexical-binding: t -*-
+  (interactive "sPrefix: \nsStruct: ")
   (let (attributes
        optional-attributes
        name
@@ -11,6 +7,9 @@ sStruct: ")
        arglist
        strings
        (index 0))
+    (if (and prefix
+            (not (string-match "-\\'" prefix)))
+       (setq prefix (concat prefix "-")))
     (catch 'finish
       (while t
        (setq name (read-from-minibuffer "Attribute: "))