[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ebdb-i18n-chn 685a486 11/16: Safer to check script of a
From: |
Stefan Monnier |
Subject: |
[elpa] externals/ebdb-i18n-chn 685a486 11/16: Safer to check script of address locality |
Date: |
Sun, 29 Nov 2020 17:03:28 -0500 (EST) |
branch: externals/ebdb-i18n-chn
commit 685a486dc9db2fa40be35e1beae88f143504cfd0
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>
Safer to check script of address locality
And bump version
* packages/ebdb-i18n-chn/ebdb-i18n-chn.el (ebdb-string-i18n): Check
the script of the locality, not the street address.
---
ebdb-i18n-chn.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ebdb-i18n-chn.el b/ebdb-i18n-chn.el
index e9b7d6d..141b550 100644
--- a/ebdb-i18n-chn.el
+++ b/ebdb-i18n-chn.el
@@ -4,7 +4,7 @@
;; Author: Eric Abrahamsen <eric@ericabrahamsen.net>
;; Maintainer: Eric Abrahamsen <eric@ericabrahamsen.net>
-;; Version: 1.1
+;; Version: 1.2
;; Package-Requires: ((pyim "1.6.0") (ebdb "0.2"))
;; This program is free software; you can redistribute it and/or modify
@@ -73,7 +73,7 @@
(cl-defmethod ebdb-string-i18n ((adr ebdb-field-address)
(_cc (eql chn)))
(with-slots (streets locality region postcode) adr
- (if (eql (aref char-script-table (aref (car streets) 0)) 'han)
+ (if (eql (aref char-script-table (aref locality 0)) 'han)
(concat
;; There are four municipalities, we don't need to repeat
;; city-plus-province for them.
- [elpa] externals/ebdb-i18n-chn d059714 08/16: Teach EBDB to snarf Chinese names, (continued)
- [elpa] externals/ebdb-i18n-chn d059714 08/16: Teach EBDB to snarf Chinese names, Stefan Monnier, 2020/11/29
- [elpa] externals/ebdb-i18n-chn 398f647 10/16: Edit address formatting to match changes in EBDB package, Stefan Monnier, 2020/11/29
- [elpa] externals/ebdb-i18n-chn 8aacf3f 12/16: * packages/ebdb-i18n-chn/ebdb-i18n-chn.el: Fix first line, Stefan Monnier, 2020/11/29
- [elpa] externals/ebdb-i18n-chn d7c6ea1 02/16: Add internationalized ebdb-string method for Chinese addresses, Stefan Monnier, 2020/11/29
- [elpa] externals/ebdb-i18n-chn 7bdd731 16/16: * .gitignore: New file, Stefan Monnier, 2020/11/29
- [elpa] externals/ebdb-i18n-chn 03dd6af 09/16: Guard require statements for packages outside of ELPA, Stefan Monnier, 2020/11/29
- [elpa] externals/ebdb-i18n-chn bf0cd7e 14/16: Prepare to update for newer version of EBDB, but don't release, Stefan Monnier, 2020/11/29
- [elpa] externals/ebdb-i18n-chn 567e018 13/16: Fix ebdb-parse methods to return slots, not objects, bump to 1.3, Stefan Monnier, 2020/11/29
- [elpa] externals/ebdb-i18n-chn 70b7cec 15/16: [ebdb-i18n-chn] Flush version 1.3.1, Stefan Monnier, 2020/11/29
- [elpa] externals/ebdb-i18n-chn 377c1ec 05/16: * edbd-i18n-chn.el: Fix typo in metadata, Stefan Monnier, 2020/11/29
- [elpa] externals/ebdb-i18n-chn 685a486 11/16: Safer to check script of address locality,
Stefan Monnier <=