From ba1c09e98a51f1376e6e6a1c7805f80e3ca1574c Mon Sep 17 00:00:00 2001 From: MORIOKA Tomohiko Date: Tue, 6 Apr 2010 08:49:25 +0900 Subject: [PATCH] (find-previous-defined-code-point): Fix problem with `=ucs'. --- cwiki-common.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cwiki-common.el b/cwiki-common.el index 2fb5094..e5e937c 100644 --- a/cwiki-common.el +++ b/cwiki-common.el @@ -188,7 +188,9 @@ (setq ccs '=jis-x0213-1@2004))) (while (and i (>= i 0) - (null (setq char (decode-char ccs i 'defined-only)))) + (null (setq char (decode-char ccs i + (unless (eq ccs '=ucs) + 'defined-only))))) (setq i (get-previous-code-point ccs i))) char)) -- 1.7.10.4