Function: vc-git-stash-delete-at-point

vc-git-stash-delete-at-point is an interactive and byte-compiled function defined in vc-git.el.gz.

Signature

(vc-git-stash-delete-at-point)

Documentation

Delete the stash at point.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-git.el.gz
(defun vc-git-stash-delete-at-point ()
  "Delete the stash at point."
  (interactive)
  (let ((stash (vc-git-stash-get-at-point (point))))
    (when (y-or-n-p (format "Remove stash %s ? " stash))
      (vc-git--run-command-string nil "stash" "drop" (format "stash@%s" stash))
      (vc-dir-refresh))))