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

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

[elpa] master 3ae24d6 09/10: tiny.el: Bump version


From: Oleh Krehel
Subject: [elpa] master 3ae24d6 09/10: tiny.el: Bump version
Date: Wed, 30 Aug 2017 13:46:04 -0400 (EDT)

branch: master
commit 3ae24d6b02b3b13a5468174599183102e1cb3c11
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    tiny.el: Bump version
    
    Re #9
---
 tiny.el | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/tiny.el b/tiny.el
index 7818a7f..48ca65d 100644
--- a/tiny.el
+++ b/tiny.el
@@ -4,7 +4,7 @@
 
 ;; Author: Oleh Krehel <address@hidden>
 ;; URL: https://github.com/abo-abo/tiny
-;; Version: 0.1.1
+;; Version: 0.2.0
 ;; Keywords: convenience
 
 ;; This file is part of GNU Emacs.
@@ -498,15 +498,15 @@ Usage: Call TINY-HELPER, ↵↵↵↵↵            -> 0 1 2 3 4 5 
6 7 8 9
            tiny-expr)
       ;; BEGIN-VAL and END-VAL sanity check.
       (cond
-       ((= end-val-num begin-val-num)
-        (if (zerop end-val-num)
-            ;; If both are zero, set the end value to 9 (arbitrarily chosen).
-            (setq end-val "9")
-          (user-error (format "Begin value (%s) and End value (%s) cannot be 
the same"
-                              begin-val end-val))))
-       ((< end-val-num begin-val-num)
-        (user-error (format "End value (%s) has to be greater than the begin 
value (%s)"
-                            begin-val end-val))))
+        ((= end-val-num begin-val-num)
+         (if (zerop end-val-num)
+             ;; If both are zero, set the end value to 9 (arbitrarily chosen).
+             (setq end-val "9")
+           (user-error (format "Begin value (%s) and End value (%s) cannot be 
the same"
+                               begin-val end-val))))
+        ((< end-val-num begin-val-num)
+         (user-error (format "End value (%s) has to be greater than the begin 
value (%s)"
+                             begin-val end-val))))
       ;; SEP cannot be an empty string if BEGIN-VAL is a non-empty string.
       ;; It is OK to not specify BEGIN-VAL if it is 0.
       (when (and (not (string= begin-val ""))



reply via email to

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