aboutsummaryrefslogtreecommitdiff
path: root/lisp/git-rebase.el
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2025-03-29 01:10:03 +0100
committerJonas Bernoulli <jonas@bernoul.li>2025-03-29 01:10:03 +0100
commit7b13ced2978fec4a45bf24a9124d9767249a55a5 (patch)
treea5603a872e93e462710ecf119299f170fd9fe91a /lisp/git-rebase.el
parent107e9015e69585e1b0fd551b5b95df6619bdd61c (diff)
Use ## more
Diffstat (limited to 'lisp/git-rebase.el')
-rw-r--r--lisp/git-rebase.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/git-rebase.el b/lisp/git-rebase.el
index d2d9ef1..afe5da9 100644
--- a/lisp/git-rebase.el
+++ b/lisp/git-rebase.el
@@ -588,8 +588,7 @@ commit. For an upper-case -C, the message will be used as is."
(insert
(format "merge %s %s %s\n"
(replace-regexp-in-string
- "-[cC]" (lambda (c)
- (if (equal c "-c") "-C" "-c"))
+ "-[cC]" (##if (equal % "-c") "-C" "-c")
action-options t t)
target
trailer)))