emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ebdb cc1b3c5 1/3: Use language-info-alist as a collecti


From: Eric Abrahamsen
Subject: [elpa] externals/ebdb cc1b3c5 1/3: Use language-info-alist as a collection for the language field
Date: Thu, 6 Feb 2020 11:37:28 -0500 (EST)

branch: externals/ebdb
commit cc1b3c56bc15e6946085b496781019f8621c369d
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>

    Use language-info-alist as a collection for the language field
    
    * ebdb.el (ebdb-location-fill-data): This makes it a little easier to
    hook into setting up input methods, etc.
---
 ebdb.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ebdb.el b/ebdb.el
index 74f5c31..fecdf95 100644
--- a/ebdb.el
+++ b/ebdb.el
@@ -2214,7 +2214,8 @@ See `ebdb-url-valid-schemes' for a list of acceptable 
schemes."
 
 (cl-defmethod ebdb-read ((class (subclass ebdb-field-language)) &optional 
slots obj)
   (let ((lang (ebdb-read-string
-              "Language: " (when obj (slot-value obj 'language)) nil nil)))
+              "Language: " (when obj (slot-value obj 'language))
+              language-info-alist nil)))
     (cl-call-next-method class (plist-put slots :language lang) obj)))
 
 ;;; Bank account field



reply via email to

[Prev in Thread] Current Thread [Next in Thread]