[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 44000fd: Safer to check script of address locality
From: |
Eric Abrahamsen |
Subject: |
[elpa] master 44000fd: Safer to check script of address locality |
Date: |
Tue, 26 Sep 2017 17:14:43 -0400 (EDT) |
branch: master
commit 44000fd344ae2234665c095f214c88bb818efc73
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>
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.
---
packages/ebdb-i18n-chn/ebdb-i18n-chn.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/packages/ebdb-i18n-chn/ebdb-i18n-chn.el
b/packages/ebdb-i18n-chn/ebdb-i18n-chn.el
index e9b7d6d..141b550 100644
--- a/packages/ebdb-i18n-chn/ebdb-i18n-chn.el
+++ b/packages/ebdb-i18n-chn/ebdb-i18n-chn.el
@@ -4,7 +4,7 @@
;; Author: Eric Abrahamsen <address@hidden>
;; Maintainer: Eric Abrahamsen <address@hidden>
-;; 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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] master 44000fd: Safer to check script of address locality,
Eric Abrahamsen <=