branch: elpa/orgit
commit 9e1eaab9315f5eaca43ad185b854344bb3e146e6
Author: Jonas Bernoulli <[email protected]>
Commit: Jonas Bernoulli <[email protected]>

    Do not needlessly use t in final cond clause
---
 orgit.el | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/orgit.el b/orgit.el
index 7fce1bfdf2d..8b36b1d3af6 100644
--- a/orgit.el
+++ b/orgit.el
@@ -330,8 +330,7 @@ In that case `orgit-rev-store' stores one or more links 
instead."
                        (read args))
                       ((string-prefix-p "(" args)
                        (list (read args) (car (magit-log-arguments))))
-                      (t
-                       (list (list args) (car (magit-log-arguments)))))))
+                      ((list (list args) (car (magit-log-arguments)))))))
     (magit-log-setup-buffer revs args files)))
 
 ;;;###autoload
@@ -341,7 +340,7 @@ In that case `orgit-rev-store' stores one or more links 
instead."
                                     (caar (read args)))
                                    ((string-prefix-p "(" args)
                                     (car (read args)))
-                                   (t args))))
+                                   (args))))
     (when (string-prefix-p "--" first-branch)
       (setq first-branch nil))
     (orgit-export (concat repo "::" first-branch)
@@ -491,8 +490,7 @@ store links to the Magit-Revision mode buffers for these 
commits."
     (cond ((file-exists-p dir) dir)
           ((string-match-p "\\`[./]" repo)
            (error "Cannot open link; %S does not exist" dir))
-          (t
-           (error "Cannot open link; no entry for %S in `%s'"
+          ((error "Cannot open link; no entry for %S in `%s'"
                   repo 'magit-repository-directories)))))
 
 ;;; _

Reply via email to