branch: elpa/git-commit
commit 22c99839c9fad89461412f153a290779cf3af82c
Author: Jonas Bernoulli <jo...@bernoul.li>
Commit: Jonas Bernoulli <jo...@bernoul.li>

    magit-define-section-jumper: Improve indentation
---
 lisp/magit-section.el | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/lisp/magit-section.el b/lisp/magit-section.el
index 575a981dc9..411ac34c08 100644
--- a/lisp/magit-section.el
+++ b/lisp/magit-section.el
@@ -850,18 +850,18 @@ If there is no previous sibling section, then move to the 
parent."
 Together TYPE and VALUE identify the section.
 HEADING is the displayed heading of the section."
   (declare (indent defun))
-  `(defun ,name (&optional expand) ,(format "\
-Jump to the section \"%s\".
+  `(defun ,name (&optional expand)
+     ,(format "Jump to the section \"%s\".
 With a prefix argument also expand it." heading)
-          (interactive "P")
-          (if-let ((section (magit-get-section
-                             (cons (cons ',type ,value)
-                                   (magit-section-ident magit-root-section)))))
-              (progn (goto-char (oref section start))
-                     (when expand
-                       (with-local-quit (magit-section-show section))
-                       (recenter 0)))
-            (message ,(format "Section \"%s\" wasn't found" heading)))))
+     (interactive "P")
+     (if-let ((section (magit-get-section
+                        (cons (cons ',type ,value)
+                              (magit-section-ident magit-root-section)))))
+         (progn (goto-char (oref section start))
+                (when expand
+                  (with-local-quit (magit-section-show section))
+                  (recenter 0)))
+       (message ,(format "Section \"%s\" wasn't found" heading)))))
 
 ;;;; Visibility
 

Reply via email to