Function: ielm-change-working-buffer

ielm-change-working-buffer is an interactive and byte-compiled function defined in ielm.el.gz.

Signature

(ielm-change-working-buffer BUF)

Documentation

Change the current IELM working buffer to BUF.

This is the buffer in which all sexps entered at the IELM prompt are evaluated. You can achieve the same effect with a call to set-buffer at the IELM prompt.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/ielm.el.gz
(defun ielm-change-working-buffer (buf)
  "Change the current IELM working buffer to BUF.
This is the buffer in which all sexps entered at the IELM prompt are
evaluated.  You can achieve the same effect with a call to
`set-buffer' at the IELM prompt."
  (interactive "bSet working buffer to: ")
  (let ((buffer (get-buffer buf)))
    (if (and buffer (buffer-live-p buffer))
        (setq ielm-working-buffer buffer)
      (error "No such buffer: %S" buf)))
  (ielm-print-working-buffer))