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

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

[elpa] 102/352: Poistetaan turhia testejä funktiosta wcheck-combine-two


From: Stefan Monnier
Subject: [elpa] 102/352: Poistetaan turhia testejä funktiosta wcheck-combine-two
Date: Mon, 07 Jul 2014 14:02:48 +0000

monnier pushed a commit to branch master
in repository elpa.

commit 8b179066e1a3c5020714e0d15b32941d83cce6ff
Author: Teemu Likonen <address@hidden>
Date:   Wed Jul 22 07:55:04 2009 +0000

    Poistetaan turhia testejä funktiosta wcheck-combine-two
---
 wcheck-mode.el |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/wcheck-mode.el b/wcheck-mode.el
index 798d06d..ea7b7ae 100644
--- a/wcheck-mode.el
+++ b/wcheck-mode.el
@@ -948,11 +948,8 @@ according to A's and all overlapping A B ranges are 
combined."
            (if (>= a2 b1)
                (list (cons a1 (if (> b2 a2) b2 a2)))
              (list a b)))
-          ((and (not a)
-                (not b))
-           (list nil))
-          ((not b) (list a))
-          ((not a) (list b)))))
+          ((not a) (list b))
+          (t (append (list a) b)))))
 
 
 (provide 'wcheck-mode)



reply via email to

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