Function: isearchb-activate

isearchb-activate is an autoloaded, interactive and byte-compiled function defined in isearchb.el.gz.

Signature

(isearchb-activate)

Documentation

Active isearchb mode for subsequent alphanumeric keystrokes.

Executing this command again will terminate the search; or, if the search has not yet begun, will toggle to the last buffer accessed via isearchb.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/isearchb.el.gz
;;;###autoload
(defun isearchb-activate ()
  "Active isearchb mode for subsequent alphanumeric keystrokes.
Executing this command again will terminate the search; or, if
the search has not yet begun, will toggle to the last buffer
accessed via isearchb."
  (interactive)
  (cond
   ((eq last-command 'isearchb)
    (isearchb-stop nil t))
   ((eq last-command 'isearchb-activate)
    (if isearchb-last-buffer
	(switch-to-buffer isearchb-last-buffer)
      (error "isearchb: There is no previous buffer to toggle to"))
    (isearchb-stop nil t))
   (t
    (message "isearchb: ")
    (setq iswitchb-text nil
	  isearchb-start-buffer (current-buffer))
    (add-hook 'pre-command-hook 'isearchb-follow-char))))