From 89c21d5e2120853324d9bbe4ec6215af9d74811c Mon Sep 17 00:00:00 2001 From: MORIOKA Tomohiko Date: Sat, 29 May 2021 21:55:50 +0900 Subject: [PATCH] (ids-read-buffer): Add setting for SW-JIGUGE-ddddd. --- ids-read.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ids-read.el b/ids-read.el index 54aff89..1693763 100644 --- a/ids-read.el +++ b/ids-read.el @@ -1,6 +1,6 @@ ;;; ids-read.el --- Reader for IDS-* files -;; Copyright (C) 2002, 2003, 2004, 2020 MORIOKA Tomohiko +;; Copyright (C) 2002, 2003, 2004, 2020, 2021 MORIOKA Tomohiko ;; Author: MORIOKA Tomohiko ;; Keywords: IDS, IDC, Ideographs, UCS, Unicode @@ -108,6 +108,9 @@ ((string-match "CB\\([0-9]+\\)" chs) (decode-char 'ideograph-cbeta (string-to-int (match-string 1 chs)))) + ((string-match "SW-JIGUGE-\\([0-9]+\\)" chs) + (decode-char '=shuowen-jiguge + (string-to-int (match-string 1 chs)))) )) (when char (when (and (>= (length ids) 3) -- 1.7.10.4