Function: srecode-extract
srecode-extract is a byte-compiled function defined in extract.el.gz.
Signature
(srecode-extract TEMPLATE START END)
Documentation
Extract TEMPLATE from between START and END in the current buffer.
Uses TEMPLATE's constant strings to break up the text and guess what the dictionary entries were for that block of text.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/srecode/extract.el.gz
;;; Extraction
;l
(defun srecode-extract (template start end)
"Extract TEMPLATE from between START and END in the current buffer.
Uses TEMPLATE's constant strings to break up the text and guess what
the dictionary entries were for that block of text."
(save-excursion
(save-restriction
(narrow-to-region start end)
(let ((dict (srecode-create-dictionary t))
(state (srecode-extract-state))
)
(goto-char start)
(srecode-extract-method template dict state)
dict))))