Function: isearchb-iswitchb
isearchb-iswitchb is an interactive and byte-compiled function defined
in isearchb.el.gz.
Signature
(isearchb-iswitchb)
Documentation
isearchb's custom version of the iswitchb command.
Its purpose is to pass different call arguments to
iswitchb-read-buffer.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/isearchb.el.gz
(defun isearchb-iswitchb ()
"isearchb's custom version of the `iswitchb' command.
Its purpose is to pass different call arguments to
`iswitchb-read-buffer'."
(interactive)
(let* ((prompt "iswitch ")
(iswitchb-method 'samewindow)
(buf (iswitchb-read-buffer prompt nil nil nil iswitchb-text t)))
(if (eq iswitchb-exit 'findfile)
(call-interactively 'find-file)
(when buf
(if (get-buffer buf)
;; buffer exists, so view it and then exit
(iswitchb-visit-buffer buf)
;; else buffer doesn't exist
(iswitchb-possible-new-buffer buf))))))