Function: xscheme-yank-push

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

Signature

(xscheme-yank-push ARG)

Documentation

Insert or replace a just-yanked expression with a more recent expression.

If the previous command was not a yank, it yanks. Otherwise, the region contains a stretch of reinserted expression. yank-pop deletes that text and inserts in its place a different expression.

With no argument, the next more recent expression is inserted. With argument n, the n'th more recent expression is inserted. If n is negative, a less recent expression is used.

The sequence of expressions wraps around, so that after the oldest one comes the newest one.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/xscheme.el.gz
(defun xscheme-yank-push (arg)
  "Insert or replace a just-yanked expression with a more recent expression.
If the previous command was not a yank, it yanks.
Otherwise, the region contains a stretch of reinserted
expression.  `yank-pop' deletes that text and inserts in its
place a different expression.

With no argument, the next more recent expression is inserted.
With argument n, the n'th more recent expression is inserted.
If n is negative, a less recent expression is used.

The sequence of expressions wraps around, so that after the oldest one
comes the newest one."
  (interactive "*p")
  (xscheme-yank-pop (- 0 arg)))