~ubuntu-branches/ubuntu/maverick/uim/maverick

« back to all changes in this revision

Viewing changes to scm/im.scm

  • Committer: Bazaar Package Importer
  • Author(s): Masahito Omote
  • Date: 2009-03-01 12:57:00 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20090301125700-0ykjdq0zgj55e3n3
Tags: 1:1.5.5-1
New upstream release and final upload by current maintainter.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
;;; im.scm: Core IM management functions for uim
2
2
;;;
3
 
;;; Copyright (c) 2003-2008 uim Project http://code.google.com/p/uim/
 
3
;;; Copyright (c) 2003-2009 uim Project http://code.google.com/p/uim/
4
4
;;;
5
5
;;; All rights reserved.
6
6
;;;
38
38
(require "load-action.scm")
39
39
 
40
40
;; config
41
 
(define enable-im-switch #f)
42
41
(define default-im-name #f)
43
42
 
44
43
;; preedit attributes: should be moved to another file
454
453
       ((and enable-im-toggle?
455
454
             (toggle-im-key? key state))
456
455
        (toggle-im uc c))
457
 
       ((and enable-im-switch
 
456
       ((and enable-im-switch?
458
457
             (switch-im-key? key state))
459
458
        (switch-im uc (im-name im)))
460
459
       ((modifier-key? key state)