From: morioka Date: Mon, 9 Feb 1998 12:25:16 +0000 (+0000) Subject: Signal error if Canna feature is not built. X-Git-Tag: emacs-canna-199811302358~14 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49311f91254fc7acfc8e8c36e26f5f1268ff7942;p=elisp%2Femacs-canna.git Signal error if Canna feature is not built. --- diff --git a/canna.el b/canna.el index 49ef784..a2b18f9 100644 --- a/canna.el +++ b/canna.el @@ -6,7 +6,7 @@ ;; Author: Akira Kon ;; MORIOKA Tomohiko ;; Stephen Turnbull -;; Version: $Revision: 1.13 $ +;; Version: $Revision: 1.14 $ ;; Keywords: Canna, Japanese, input method, mule, multilingual ;; This file is not a part of Emacs yet. @@ -50,12 +50,16 @@ (and canna-dl-handle (dynamic-call "emacs_canna_init" canna-dl-handle)) +(or (boundp 'CANNA) + (featurep 'CANNA) + (error "Canna is not built into this Emacs")) + (defvar self-insert-after-hook nil) ;; (defalias 'self-insert-internal 'self-insert-command) ;; end (defconst canna-rcs-version - "$Id: canna.el,v 1.13 1998-02-09 12:20:22 morioka Exp $") + "$Id: canna.el,v 1.14 1998-02-09 12:25:16 morioka Exp $") (defun canna-version () "Display version of canna.el in mini-buffer."