 ;;
 
 ;;; Code:
+(require 's)
 
 (defun print-current-function() "Print current function under point."
   (interactive)

;; Author: Dan Harms <danielrharms@gmail.com>
;; Created: Tuesday, April 12, 2016
;; Version: 1.0
;; Modified Time-stamp: <2016-04-12 17:44:36 dharms>
;; Modified by: Dan Harms
;; Keywords: coding


      (goto-char end) (insert "\n}")
      (insert-char ?\s c-basic-offset)
      (insert "// end ")
      (if (zerop (length str))
          (insert "anonymous "))
      (insert "namespace " str "\n")
      (goto-char start)
      (insert "namespace ")
      (if (not (zerop (length str)))
          (insert str " "))
      (insert "{\n\n"))))

