;; Author: Akira Kon <kon@d1.bs2.mt.nec.co.jp>
;; MORIOKA Tomohiko <morioka@jaist.ac.jp>
;; Stephen Turnbull <turnbull@sk.tsukuba.ac.jp>
-;; Version: $Revision: 1.15 $
+;; Version: $Revision: 1.16 $
;; Keywords: Canna, Japanese, input method, mule, multilingual
-;; This file is not a part of Emacs yet.
+;; This file is part of Emacs-Canna.
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License as
;;; Code:
-;; -*-mode: emacs-lisp-*-
+(require 'poem)
-(defvar canna-dl-module
- (expand-file-name "canna.so" exec-directory))
+(eval-and-compile
+ (defvar canna-dl-module
+ (expand-file-name "canna.so" exec-directory))
-(defvar canna-dl-handle
- (and (not (boundp 'CANNA))
- (fboundp 'dynamic-link)
- (dynamic-link canna-dl-module)))
-
-(and canna-dl-handle
- (dynamic-call "emacs_canna_init" canna-dl-handle))
+ (defvar canna-dl-handle
+ (and (not (boundp 'CANNA))
+ (fboundp 'dynamic-link)
+ (dynamic-link canna-dl-module)))
+
+ (and canna-dl-handle
+ (dynamic-call "emacs_canna_init" canna-dl-handle))
+ )
(or (boundp 'CANNA)
(featurep 'CANNA)
;; end
(defconst canna-rcs-version
- "$Id: canna.el,v 1.15 1998-02-09 13:09:08 morioka Exp $")
+ "$Id: canna.el,v 1.16 1998-10-21 06:36:55 morioka Exp $")
(defun canna-version ()
"Display version of canna.el in mini-buffer."