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

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

[elpa] externals/agitate b7a51e04d2 18/67: Adjust indentation


From: ELPA Syncer
Subject: [elpa] externals/agitate b7a51e04d2 18/67: Adjust indentation
Date: Wed, 28 Sep 2022 16:57:26 -0400 (EDT)

branch: externals/agitate
commit b7a51e04d23b67ab7f1255a221972f47f8d5d5bd
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Adjust indentation
---
 agitate.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/agitate.el b/agitate.el
index a946c5ae70..50cb062b90 100644
--- a/agitate.el
+++ b/agitate.el
@@ -86,9 +86,9 @@ latest unsaved changes.
 If the buffer is not modified, produce a diff of the file
 relative to its latest revision."
   (interactive)
-    (if (buffer-modified-p)
-          (diff-buffer-with-file (current-buffer))
-      (vc-diff)))
+  (if (buffer-modified-p)
+      (diff-buffer-with-file (current-buffer))
+    (vc-diff)))
 
 ;;;###autoload
 (defun agitate-diff-narrow-dwim (&optional narrow-file)
@@ -180,7 +180,7 @@ to the text at point."
   (when-let* ((files (log-edit-files))
               (file (if (length> files 1)
                         (completing-read "Derive shortname from: " files nil t)
-                    (car files)))
+                      (car files)))
               (name (file-name-nondirectory file)))
     (if with-file-extension
         file



reply via email to

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