Function: filesets-get-selection

filesets-get-selection is a byte-compiled function defined in filesets.el.gz.

Signature

(filesets-get-selection)

Documentation

Get the text between mark and point -- i.e. the selection or region.

Source Code

;; Defined in /usr/src/emacs/lisp/filesets.el.gz
(defun filesets-get-selection ()
  "Get the text between mark and point -- i.e. the selection or region."
  (let ((m (mark))
	(p (point)))
    (if m
	(buffer-substring (min m p) (max m p))
      (error "No selection"))))