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

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

[elpa] externals/diff-hl 30a54e96a3 1/2: Move misplaced interactive form


From: ELPA Syncer
Subject: [elpa] externals/diff-hl 30a54e96a3 1/2: Move misplaced interactive form
Date: Mon, 20 Jun 2022 09:57:33 -0400 (EDT)

branch: externals/diff-hl
commit 30a54e96a3f148ea477560f84987b45072a36a99
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    Move misplaced interactive form
---
 diff-hl.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diff-hl.el b/diff-hl.el
index 58989d1f0f..4fb8684ef0 100644
--- a/diff-hl.el
+++ b/diff-hl.el
@@ -758,10 +758,10 @@ Only supported with Git."
         (diff-hl-update)))))
 
 (defun diff-hl-unstage-file ()
-  (interactive)
   "Unstage all changes in the current file.
 
 Only supported with Git."
+  (interactive)
   (unless buffer-file-name
     (user-error "No current file"))
   (diff-hl--ensure-staging-supported)



reply via email to

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