diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2026-01-01 16:53:09 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2026-01-01 16:53:09 +0100 |
| commit | ed67642a25e8aa6fc5c5438fb1ddb6d7c7e94ddf (patch) | |
| tree | 06f6ac33e8492e36301ede1782365d6d3b3b79da /lisp/magit-clone.el | |
| parent | 1c723f86a3eb75d2082506942b3bc057406b0287 (diff) | |
Improve indentation of cond
Emacs 31.1 adds variable `lisp-indent-local-overrides'.
Diffstat (limited to 'lisp/magit-clone.el')
| -rw-r--r-- | lisp/magit-clone.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/magit-clone.el b/lisp/magit-clone.el index 5502507..272ec66 100644 --- a/lisp/magit-clone.el +++ b/lisp/magit-clone.el @@ -337,12 +337,12 @@ Then show the status buffer for the new repository." url-format `((?h . ,host) (?n . ,(cond - ((string-search "/" repo) repo) - ((string-search "." user) - (if-let ((user (magit-get user))) - (concat user "/" repo) - (user-error "Set %S or specify owner explicitly" user))) - ((concat user "/" repo)))))) + ((string-search "/" repo) repo) + ((string-search "." user) + (if-let ((user (magit-get user))) + (concat user "/" repo) + (user-error "Set %S or specify owner explicitly" user))) + ((concat user "/" repo)))))) (user-error "Bogus `magit-clone-url-format' (bad type or missing default)"))) |
