Function: srecode-template-get-mode

srecode-template-get-mode is a byte-compiled function defined in srt-mode.el.gz.

Signature

(srecode-template-get-mode)

Documentation

Get the supported major mode for this template file.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/srecode/srt-mode.el.gz
;;; Utils
;;
(defun srecode-template-get-mode ()
  "Get the supported major mode for this template file."
  (let ((m (semantic-find-first-tag-by-name "mode" (current-buffer))))
    (when m (read (semantic-tag-variable-default m)))))