Function: magit-am-apply-patches

magit-am-apply-patches is an autoloaded, interactive and byte-compiled function defined in magit-sequence.el.

Signature

(magit-am-apply-patches &optional FILES ARGS)

Documentation

Apply the patches FILES.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-sequence.el
;;;###autoload
(defun magit-am-apply-patches (&optional files args)
  "Apply the patches FILES."
  (interactive (list (or (magit-region-values 'file)
                         (list (let ((default (magit-file-at-point)))
                                 (read-file-name
                                  (if default
                                      (format "Apply patch (%s): " default)
                                    "Apply patch: ")
                                  nil default))))
                     (magit-am-arguments)))
  (magit-run-git-sequencer "am" args "--"
                           (mapcar (##magit-convert-filename-for-git
                                    (expand-file-name %))
                                   files)))