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

Back to archive index

null+****@clear***** null+****@clear*****
Fri Jun 29 15:37:01 JST 2012


yuta yamada	2012-06-29 15:37:01 +0900 (Fri, 29 Jun 2012)

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

  Log:
    Use not operator instead of string< operator

  Modified files:
    logalimacs.el

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