Function: xscheme-yank

xscheme-yank is an interactive and byte-compiled function defined in xscheme.el.gz.

Signature

(xscheme-yank &optional ARG)

Documentation

Insert the most recent expression at point.

With just C-u (universal-argument) as argument, same but put point in front (and mark at end). With argument n, reinsert the nth most recently sent expression. See also the commands M-x xscheme-yank-pop (xscheme-yank-pop) and M-x xscheme-yank-push (xscheme-yank-push).

Key Bindings

Aliases

xscheme-yank-previous-send (obsolete since 29.1)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/xscheme.el.gz
(defun xscheme-yank (&optional arg)
  "Insert the most recent expression at point.
With just \\[universal-argument] as argument, same but put point in front (and mark at end).
With argument n, reinsert the nth most recently sent expression.
See also the commands \\[xscheme-yank-pop] and \\[xscheme-yank-push]."
  (interactive "*P")
  (xscheme-rotate-yank-pointer (if (listp arg) 0
				 (if (eq arg '-) -1
				   (1- arg))))
  (push-mark)
  (insert (car xscheme-expressions-ring-yank-pointer))
  (if (consp arg)
      (exchange-point-and-mark)))