Function: mpc-mode

mpc-mode is an interactive and byte-compiled function defined in mpc.el.gz.

Signature

(mpc-mode)

Documentation

Major mode for the features common to all buffers of MPC.

In addition to any hooks its parent mode special-mode might have run, this mode runs the hook mpc-mode-hook, as the final or penultimate step during initialization.

< mpc-prev
<drag-mouse-2> mpc-drag-n-drop
<follow-link> :always
<header-line> <follow-link> ignore
<mode-line> <follow-link> ignore
<mouse-2> mpc-select(var)/mpc-select(fun)
> mpc-next
C-<mouse-2> mpc-select-toggle
RET mpc-select(var)/mpc-select(fun)
S-<mouse-2> mpc-select-extend
S-<return> mpc-select-toggle
g mpc-seek-current
o mpc-goto-playing-song
p mpc-pause
q mpc-quit
s mpc-toggle-play

Probably introduced at or before Emacs version 28.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/mpc.el.gz
(define-derived-mode mpc-mode special-mode "MPC"
  "Major mode for the features common to all buffers of MPC."
  (buffer-disable-undo)
  (if (boundp 'tool-bar-map)            ; not if --without-x
      (setq-local tool-bar-map mpc-tool-bar-map))
  (setq-local truncate-lines t))