[logaling-commit] logaling/logalimacs [master] Use string< operator instead of the null

Back to archive index

null+****@clear***** null+****@clear*****
Fri Jun 29 15:18:35 JST 2012


yuta yamada	2012-06-29 15:18:35 +0900 (Fri, 29 Jun 2012)

  New Revision: 7210209152ef4c7465acedb5644bc87b36cc3333
  https://github.com/logaling/logalimacs/commit/7210209152ef4c7465acedb5644bc87b36cc3333

  Log:
    Use string< operator instead of the null

  Modified files:
    logalimacs.el

  Modified: logalimacs.el (+1 -1)
===================================================================
--- logalimacs.el    2012-06-29 15:17:47 +0900 (ad1e1dd)
+++ logalimacs.el    2012-06-29 15:18:35 +0900 (b0d9468)
@@ -352,7 +352,7 @@
   (loop with sum = 0
         with tokens = (string-to-list (split-string sentence ""))
         for token in tokens
-        if (and (null (equal "" token))
+        if (and (string< "" 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