Function: artist-get-buffer-contents-at-xy

artist-get-buffer-contents-at-xy is a byte-compiled function defined in artist.el.gz.

Signature

(artist-get-buffer-contents-at-xy X Y WIDTH)

Documentation

Retrieve contents from the buffer at X, Y. WIDTH characters are returned.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/artist.el.gz
(defun artist-get-buffer-contents-at-xy (x y width)
  "Retrieve contents from the buffer at X, Y.  WIDTH characters are returned."
  (artist-move-to-xy x y)
  (let ((here (point))
	(there (save-excursion (artist-move-to-xy (+ x width) y) (point))))
    (untabify here there)
    (setq there (save-excursion (artist-move-to-xy (+ x width) y) (point)))
    (buffer-substring here there)))