From: tomo Date: Wed, 25 Aug 2004 14:41:21 +0000 (+0000) Subject: (canna-self-insert-string): Use `functionp' instead of `fboundp' for X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=4da4e2dc8924df227b227273d44d9a37b83b2bdd;p=elisp%2Femacs-canna.git (canna-self-insert-string): Use `functionp' instead of `fboundp' for `canna-self-insert-string-filter' in XEmacs. --- diff --git a/canna.el b/canna.el index 6e57051..16d8d77 100644 --- a/canna.el +++ b/canna.el @@ -7,7 +7,7 @@ ;; Author: Akira Kon ;; MORIOKA Tomohiko ;; Stephen Turnbull -;; Version: $Revision: 1.22 $ +;; Version: $Revision: 1.23 $ ;; Keywords: Canna, Japanese, input method, mule, multilingual ;; This file is part of Emacs-Canna. @@ -70,7 +70,7 @@ ((featurep 'xemacs) (defvar canna-self-insert-string-filter (function identity)) (defun canna-self-insert-string (string) - (if (fboundp canna-self-insert-string-filter) + (if (functionp canna-self-insert-string-filter) (setq string (funcall canna-self-insert-string-filter string))) (let ((len (length string)) (i 0)