Function: vc-hg-log-edit-toggle-amend

vc-hg-log-edit-toggle-amend is an interactive and byte-compiled function defined in vc-hg.el.gz.

Signature

(vc-hg-log-edit-toggle-amend)

Documentation

Toggle whether this will amend the previous commit.

If toggling on, also insert its message into the buffer.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-hg.el.gz
(defun vc-hg-log-edit-toggle-amend ()
  "Toggle whether this will amend the previous commit.
If toggling on, also insert its message into the buffer."
  (interactive)
  (log-edit--toggle-amend
   (lambda ()
     (with-output-to-string
       (vc-hg-command
        standard-output 1 nil
        "log" "--limit=1" "--template" "{desc}")))))