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

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

[nongnu] elpa/git-commit 967ee3b56f 2/4: Shorten some long lines


From: ELPA Syncer
Subject: [nongnu] elpa/git-commit 967ee3b56f 2/4: Shorten some long lines
Date: Wed, 1 May 2024 21:59:57 -0400 (EDT)

branch: elpa/git-commit
commit 967ee3b56fbfc387175edf748ad32f87e3f240d1
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    Shorten some long lines
---
 lisp/git-rebase.el   | 6 ++++--
 lisp/magit-diff.el   | 3 ++-
 lisp/magit-extras.el | 3 ++-
 lisp/magit-status.el | 9 ++++++---
 4 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/lisp/git-rebase.el b/lisp/git-rebase.el
index 947e7a7a2b..92a4b433d7 100644
--- a/lisp/git-rebase.el
+++ b/lisp/git-rebase.el
@@ -718,8 +718,10 @@ running \"man git-rebase\" at the command line) for 
details."
   (when git-rebase-confirm-cancel
     (add-hook 'with-editor-cancel-query-functions
               #'git-rebase-cancel-confirm nil t))
-  (setq-local redisplay-highlight-region-function 
#'git-rebase-highlight-region)
-  (setq-local redisplay-unhighlight-region-function 
#'git-rebase-unhighlight-region)
+  (setq-local redisplay-highlight-region-function
+              #'git-rebase-highlight-region)
+  (setq-local redisplay-unhighlight-region-function
+              #'git-rebase-unhighlight-region)
   (add-hook 'with-editor-pre-cancel-hook  #'git-rebase-autostash-save  nil t)
   (add-hook 'with-editor-post-cancel-hook #'git-rebase-autostash-apply nil t)
   (setq imenu-prev-index-position-function
diff --git a/lisp/magit-diff.el b/lisp/magit-diff.el
index 57db0c1219..6fb8c1e95f 100644
--- a/lisp/magit-diff.el
+++ b/lisp/magit-diff.el
@@ -2003,7 +2003,8 @@ Staging and applying changes is documented in info node
                (0)
                (1 (concat " in file " (car magit-buffer-diff-files)))
                (_ (concat " in files "
-                          (mapconcat #'identity magit-buffer-diff-files ", 
")))))))
+                          (mapconcat #'identity magit-buffer-diff-files
+                                     ", ")))))))
   (setq magit-buffer-range-hashed
         (and magit-buffer-range (magit-hash-range magit-buffer-range)))
   (magit-insert-section (diffbuf)
diff --git a/lisp/magit-extras.el b/lisp/magit-extras.el
index 5fc5316943..93c3c96155 100644
--- a/lisp/magit-extras.el
+++ b/lisp/magit-extras.el
@@ -540,7 +540,8 @@ list returned by `magit-rebase-arguments'."
      ((not rev)
       (when (and (magit-ref-p backup)
                  (not (magit-y-or-n-p
-                       (format "Backup ref %s already exists.  Override? " 
backup))))
+                       (format "Backup ref %s already exists.  Override? "
+                               backup))))
         (user-error "Abort"))
       (magit-log-select
         (lambda (rev)
diff --git a/lisp/magit-status.el b/lisp/magit-status.el
index 749ddf0063..1c6e04a0a8 100644
--- a/lisp/magit-status.el
+++ b/lisp/magit-status.el
@@ -706,7 +706,8 @@ remote in alphabetic order."
   "<2>" (magit-menu-item "Discard files" #'magit-discard)
   "<1>" (magit-menu-item "Stage files"   #'magit-stage))
 
-(magit-define-section-jumper magit-jump-to-untracked "Untracked files" 
untracked)
+(magit-define-section-jumper magit-jump-to-untracked
+  "Untracked files" untracked)
 
 (defun magit-insert-untracked-files ()
   "Maybe insert a list or tree of untracked files.
@@ -772,7 +773,8 @@ of that variable can be set using \"D -- DIRECTORY RET g\"."
         (magit-insert-files files base)
         (insert ?\n)))))
 
-(magit-define-section-jumper magit-jump-to-skip-worktree "Skip-worktree files" 
skip-worktree)
+(magit-define-section-jumper magit-jump-to-skip-worktree
+  "Skip-worktree files" skip-worktree)
 
 (defun magit-insert-skip-worktree-files ()
   "Insert a tree of skip-worktree files.
@@ -788,7 +790,8 @@ of that variable can be set using \"D -- DIRECTORY RET g\"."
         (magit-insert-files files base)
         (insert ?\n)))))
 
-(magit-define-section-jumper magit-jump-to-assume-unchanged "Assume-unchanged 
files" assume-unchanged)
+(magit-define-section-jumper magit-jump-to-assume-unchanged
+  "Assume-unchanged files" assume-unchanged)
 
 (defun magit-insert-assume-unchanged-files ()
   "Insert a tree of files that are assumed to be unchanged.



reply via email to

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