Function: format-decode-region
format-decode-region is an interactive and byte-compiled function
defined in format.el.gz.
Signature
(format-decode-region FROM TO &optional FORMAT)
Documentation
Decode the region from some format.
Arg FORMAT is optional; if omitted the format will be determined by looking for identifying regular expressions at the beginning of the region.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/format.el.gz
(defun format-decode-region (from to &optional format)
"Decode the region from some format.
Arg FORMAT is optional; if omitted the format will be determined by looking
for identifying regular expressions at the beginning of the region."
(interactive
(list (region-beginning) (region-end)
(format-read (format-prompt "Translate region from format" "guess"))))
(save-excursion
(goto-char from)
(format-decode format (- to from) nil)))