Function: viper-switch-to-buffer

viper-switch-to-buffer is an interactive and byte-compiled function defined in viper-cmd.el.gz.

Signature

(viper-switch-to-buffer)

Documentation

Switch to buffer in the current window.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/emulation/viper-cmd.el.gz
;; visiting and killing files, buffers

(defun viper-switch-to-buffer ()
  "Switch to buffer in the current window."
  (interactive)
  (let ((other-buffer (other-buffer (current-buffer)))
	buffer)
    (setq buffer
	  (funcall viper-read-buffer-function
		   "Switch to buffer in this window: " other-buffer))
    (switch-to-buffer buffer)))