emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ssh-deploy c4fd187 039/133: Deletion working from diff-


From: Stefan Monnier
Subject: [elpa] externals/ssh-deploy c4fd187 039/133: Deletion working from diff-mode
Date: Sat, 27 Mar 2021 14:48:39 -0400 (EDT)

branch: externals/ssh-deploy
commit c4fd1871fb65ebb20a25e930c834b8474ef7c60d
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>

    Deletion working from diff-mode
---
 ssh-deploy-diff-mode.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/ssh-deploy-diff-mode.el b/ssh-deploy-diff-mode.el
index 703f6b5..3e1ed17 100644
--- a/ssh-deploy-diff-mode.el
+++ b/ssh-deploy-diff-mode.el
@@ -36,7 +36,6 @@
 ;;; Code:
 
 
-
 (defconst ssh-deploy-diff-mode--keywords
   '(
     "DIRECTORY A"
@@ -187,7 +186,6 @@
            (ssh-deploy-download path-remote path-local))
           (t (message "Copy B is not available in this section")))))
 
-;; TODO Should we really pass path as buffer argument in this?
 (defun ssh-deploy-diff-mode--delete (parts)
   "Delete path in both, only in a or only in b based on PARTS from section A, 
B or BOTH."
   (let* ((section (nth 1 parts))
@@ -204,7 +202,7 @@
       ('only-in-a
        (ssh-deploy-delete path-local))
       ('only-in-b
-       (ssh-deploy-delete-both path-remote))
+       (ssh-deploy-delete path-remote))
       (_ (message "Delete is not available in this section")))))
 
 (defun ssh-deploy-diff-mode--difference (parts)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]