Function: eshell-get-buffer

eshell-get-buffer is a byte-compiled function defined in esh-arg.el.gz.

Signature

(eshell-get-buffer BUFFER-OR-NAME)

Documentation

Return the buffer specified by BUFFER-OR-NAME, creating a new one if needed.

This is equivalent to get-buffer-create, but only accepts a single argument.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-arg.el.gz
(defun eshell-get-buffer (buffer-or-name)
  "Return the buffer specified by BUFFER-OR-NAME, creating a new one if needed.
This is equivalent to `get-buffer-create', but only accepts a
single argument."
  (get-buffer-create buffer-or-name))