 (defun strapon-transform-request-mapping ()
   (interactive)
   (save-excursion
-    (let (method-name method-signature return-stmt beg)
+    (let (method-name method-signature beg)
       (end-of-line)
 
       (search-backward "@RequestMapping")

        (search-forward "@RequestMapping")
        (indent-region p (point))))))

(f6 (strapon-transform-mod))
(f7 (strapon-transform-request-mapping))

(provide 'oppdrag-mode)
;;; oppdrag-mode.el ends here


        (insert "
             model.addAttribute(\"strappedOn\", true);
             return " method-name "(" method-signature ") + \"-strapon\";
         }")

        (search-backward "@RequestMapping")
