Mercurial > hg > xemacs-beta
comparison lisp/skk/skk-leim.el @ 219:262b8bb4a523 r20-4b8
Import from CVS: tag r20-4b8
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:09:35 +0200 |
parents | |
children | 12579d965149 |
comparison
equal
deleted
inserted
replaced
218:c9f226976f56 | 219:262b8bb4a523 |
---|---|
1 ;;; skk-leim.el --- SKK related code for LEIM | |
2 ;; Copyright (C) 1997 | |
3 ;; Murata Shuuichirou <mrt@mickey.ai.kyutech.ac.jp> | |
4 ;; | |
5 ;; Author: Murata Shuuichirou <mrt@mickey.ai.kyutech.ac.jp> | |
6 ;; Version: $Id: skk-leim.el,v 1.1 1997/12/02 08:48:38 steve Exp $ | |
7 ;; Keywords: japanese | |
8 ;; Last Modified: $Date: 1997/12/02 08:48:38 $ | |
9 | |
10 ;; This program is free software; you can redistribute it and/or modify | |
11 ;; it under the terms of the GNU General Public License as published by | |
12 ;; the Free Software Foundation; either versions 2, or (at your option) | |
13 ;; any later version. | |
14 | |
15 ;; This program is distributed in the hope that it will be useful | |
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
18 ;; GNU General Public License for more details. | |
19 | |
20 ;; You should have received a copy of the GNU General Public License | |
21 ;; along with SKK, see the file COPYING. If not, write to the Free | |
22 ;; Software Foundation Inc., 59 Temple Place - Suite 330, Boston, | |
23 ;; MA 02111-1307, USA. | |
24 | |
25 ;; (require 'skk-foreword) | |
26 ;; (require 'skk-vars) | |
27 | |
28 (defun skk-activate (&optional name) | |
29 (require 'skk-foreword) | |
30 (require 'skk-vars) | |
31 (setq inactivate-current-input-method-function 'skk-inactivate) | |
32 (skk-mode 1) ) | |
33 | |
34 (defun skk-auto-fill-activate (&optional name) | |
35 (setq inactivate-current-input-method-function 'skk-inactivate) | |
36 (skk-mode 1) ) | |
37 | |
38 (defun skk-inactivate () | |
39 (skk-mode -1) ) | |
40 | |
41 (register-input-method | |
42 'japanese-skk "Japanese" | |
43 'skk-activate nil | |
44 "Simple Kana to Kanji conversion program" ) | |
45 | |
46 (register-input-method | |
47 'japanese-skk-auto-fill "Japanese" | |
48 'skk-auto-fill-activate nil | |
49 "Simple Kana to Kanji conversion program with auto-fill" ) | |
50 | |
51 (provide 'skk-leim) | |
52 ;;; skk-leim.el ends here |