monnier pushed a commit to branch master in repository elpa. commit 8b179066e1a3c5020714e0d15b32941d83cce6ff Author: Teemu Likonen <tliko...@iki.fi> 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)