Function: ses-copy-region
ses-copy-region is a byte-compiled function defined in ses.el.gz.
Signature
(ses-copy-region BEG END)
Documentation
Treat the region as rectangular.
Convert the intangible attributes to SES attributes recording the contents of the cell as of the time of copying.
Source Code
;; Defined in /usr/src/emacs/lisp/ses.el.gz
(defun ses-copy-region (beg end)
"Treat the region as rectangular.
Convert the intangible attributes to SES attributes recording the
contents of the cell as of the time of copying."
(when (= end ses--data-marker)
;;Avoid overflow situation
(setq end (1- ses--data-marker)))
(let* ((x (mapconcat #'ses-copy-region-helper
(extract-rectangle beg (1- end)) "\n")))
(remove-text-properties 0 (length x)
'(read-only t
cursor-intangible t
keymap t
front-sticky t)
x)
x))