Function: projectile-other-frame-command

projectile-other-frame-command is an autoloaded, interactive and byte-compiled function defined in projectile.el.

Signature

(projectile-other-frame-command)

Documentation

Show the buffer of the next Projectile command in another frame.

Set up the next command's buffer to be displayed in a new frame (via other-frame-prefix) and keep projectile-command-map(var)/projectile-command-map(fun) active for the next key sequence, so any Projectile key typed right after this command gets the other-frame treatment without re-typing the Projectile prefix. Any non-Projectile command works as well; commands that use switch-to-buffer are covered too, by temporarily enabling switch-to-buffer-obey-display-actions.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
;;;###autoload
(defun projectile-other-frame-command ()
  "Show the buffer of the next Projectile command in another frame.

Set up the next command's buffer to be displayed in a new frame (via
`other-frame-prefix') and keep `projectile-command-map' active for the
next key sequence, so any Projectile key typed right after this command
gets the other-frame treatment without re-typing the Projectile
prefix.  Any non-Projectile command works as well; commands that use
`switch-to-buffer' are covered too, by temporarily enabling
`switch-to-buffer-obey-display-actions'."
  (interactive)
  (other-frame-prefix)
  (projectile--obey-display-actions-for-next-command)
  (set-transient-map projectile-command-map)
  (message "Display buffer of next (Projectile) command in a new frame..."))