Revision: 7376
Author:   deton.kih
Date:     Thu Nov 24 20:02:36 2011
Log:      * scm/tutcode.scm
  - Fix migration when obsolete custom variable
    tutcode-commit-candidate-by-label-key? is #f.

http://code.google.com/p/uim/source/detail?r=7376

Modified:
 /trunk/scm/tutcode.scm

=======================================
--- /trunk/scm/tutcode.scm      Thu Nov 24 02:52:55 2011
+++ /trunk/scm/tutcode.scm      Thu Nov 24 20:02:36 2011
@@ -419,9 +419,11 @@
 (if (and (symbol-bound? 'tutcode-use-table-style-candidate-window?)
          tutcode-use-table-style-candidate-window?)
   (set! candidate-window-style 'table))
-(if (and (symbol-bound? 'tutcode-commit-candidate-by-label-key?)
-         tutcode-commit-candidate-by-label-key?)
-  (set! tutcode-commit-candidate-by-label-key 'always))
+(if (symbol-bound? 'tutcode-commit-candidate-by-label-key?)
+  (set! tutcode-commit-candidate-by-label-key
+    (if tutcode-commit-candidate-by-label-key?
+      'always
+      'never)))

 ;;; ɽ·Á¼°¤Î¸õÊ䥦¥£¥ó¥É¥¦¾å¤Î³Æ¥Ü¥¿¥ó¤È¥­¡¼¤ÎÂбþɽ(13Îó8¹Ô)¡£
 ;;; ɽ·Á¼°¸õÊ䥦¥£¥ó¥É¥¦¤¬»²¾È¤·¤Æ»ÈÍѤ¹¤ë¡£

Reply via email to