Revision: 7313
Author: deton.kih
Date: Sun Sep 18 16:25:21 2011
Log: * scm/tutcode-custom.scm
- (tutcode-nr-candidate-max-for-prediction):
Remove activity hook on tutcode-use-candidate-window?
because tutcode-nr-candidate-max-for-prediction
is not depend on tutcode-use-candidate-window?
- (tutcode-nr-candidate-max-for-guide): Ditto.
- (tutcode-nr-candidate-max-for-history): Add missed activity hook.
- (candidate-window-style):
Change set hook to update tutcode-nr-candidate-max-for-history.
http://code.google.com/p/uim/source/detail?r=7313
Modified:
/trunk/scm/tutcode-custom.scm
=======================================
--- /trunk/scm/tutcode-custom.scm Tue Sep 13 04:03:38 2011
+++ /trunk/scm/tutcode-custom.scm Sun Sep 18 16:25:21 2011
@@ -341,16 +341,11 @@
(lambda ()
tutcode-use-candidate-window?))
-(custom-add-hook 'tutcode-nr-candidate-max-for-prediction
+(custom-add-hook 'tutcode-nr-candidate-max-for-history
'custom-activity-hooks
(lambda ()
tutcode-use-candidate-window?))
-(custom-add-hook 'tutcode-nr-candidate-max-for-guide
- 'custom-activity-hooks
- (lambda ()
- tutcode-use-candidate-window?))
-
(custom-add-hook 'tutcode-auto-help-with-real-keys?
'custom-activity-hooks
(lambda ()
@@ -372,12 +367,16 @@
(custom-set-value!
'tutcode-nr-candidate-max-for-guide
(- (length tutcode-table-heading-label-char-list-for-kigou-mode)
- (length tutcode-heading-label-char-list-for-prediction))))
+ (length tutcode-heading-label-char-list-for-prediction)))
+ (custom-set-value!
+ 'tutcode-nr-candidate-max-for-history
+ (length tutcode-table-heading-label-char-list)))
(begin
(custom-set-value! 'tutcode-nr-candidate-max 10)
(custom-set-value! 'tutcode-nr-candidate-max-for-kigou-mode 10)
(custom-set-value! 'tutcode-nr-candidate-max-for-prediction 10)
- (custom-set-value! 'tutcode-nr-candidate-max-for-guide 10)))))
+ (custom-set-value! 'tutcode-nr-candidate-max-for-guide 10)
+ (custom-set-value! 'tutcode-nr-candidate-max-for-history 10)))))
(custom-add-hook 'tutcode-candidate-window-table-layout
'custom-activity-hooks