[logaling-commit] logaling/logalimacs [master] Sorry, Fix style (string< -> (not (equal ...))

Back to archive index

null+****@clear***** null+****@clear*****
Mon Jul 2 10:54:14 JST 2012


yuta yamada	2012-07-02 10:54:14 +0900 (Mon, 02 Jul 2012)

  New Revision: e9fec29b9d552fab7672f3076f6009b21ac131e2
  https://github.com/logaling/logalimacs/commit/e9fec29b9d552fab7672f3076f6009b21ac131e2

  Log:
    Sorry, Fix style (string< -> (not (equal ...))

  Modified files:
    logalimacs.el

  Modified: logalimacs.el (+1 -1)
===================================================================
--- logalimacs.el    2012-07-01 21:45:55 +0900 (a8e0265)
+++ logalimacs.el    2012-07-02 10:54:14 +0900 (6f47534)
@@ -355,7 +355,7 @@ Example:
   (loop with sum = 0
         with tokens = (string-to-list (split-string sentence ""))
         for token in tokens
-        if (and (string< "" token)
+        if (and (not (equal "" token))
                 (multibyte-string-p token)
                 (loga-ignore-character-p token))
         do      (setq sum (+ sum 2))
-------------- next part --------------
An HTML attachment was scrubbed...
下载 



More information about the logaling-commit mailing list
Back to archive index