Function: git-rebase--insert-descriptions

git-rebase--insert-descriptions is a byte-compiled function defined in git-rebase.el.

Signature

(git-rebase--insert-descriptions ALIST)

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260822.1158/git-rebase.el
(defun git-rebase--insert-descriptions (alist)
  (pcase-dolist (`(,cmd . ,desc) alist)
    (insert
     (format (propertize "%s %s %s\n" 'font-lock-face 'font-lock-comment-face)
             comment-start
             (string-pad (substitute-command-keys (format "\\[%s]" cmd)) 8)
             (string-replace "#" comment-start desc)))))