     "*The template of a function skeleton.
 Please see the function `tempo-define-template'.")
 
+(defvar erlang-skel-spec
+  '("-spec " (erlang-skel-get-function-name) "( " (erlang-skel-get-function-args) ") -> undefined.")
+    "*The template of a -spec for the function following point.
+Please see the function `tempo-define-template'.")
 
 ;; Attribute templates
 

    ("Module"        "module"        erlang-skel-module)
    ("Author"        "author"        erlang-skel-author)
    ("Function"      "function"      erlang-skel-function)
    ()
    ("Small Header"  "small-header"
     erlang-skel-small-header erlang-skel-header)

            (substring date 4 7)
            (substring date -4))))

(defun erlang-skel-get-function-name ()
  (save-excursion
    (erlang-beginning-of-function -1)
    (erlang-get-function-name)))

(defun erlang-skel-get-function-args ()
  (save-excursion
    (erlang-beginning-of-function -1)
    (erlang-get-function-arguments)))

;; Local variables:
;; coding: iso-8859-1
;; End:
