branch: externals/ebdb
commit 1abf847524113854eca24bb247a0e07f467f23b6
Author: Eric Abrahamsen <e...@ericabrahamsen.net>
Commit: Eric Abrahamsen <e...@ericabrahamsen.net>

    Fix slot customize declaration for bank account field
    
    * ebdb.el (ebdb-field-bank-account): Both 'routing-aba and 'swift-bic
      needed to handle the null possibility in the :custom declaration.
---
 ebdb.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/ebdb.el b/ebdb.el
index 5a94ce8..80c219f 100644
--- a/ebdb.el
+++ b/ebdb.el
@@ -2212,13 +2212,15 @@ See `ebdb-url-valid-schemes' for a list of acceptable 
schemes."
     :initarg :routing-aba
     :type (or string null)
     :initform nil
-    :custom string
+    :custom (choice string
+                   (const :tag "None" nil))
     :documentation "Routing number or ABA")
    (swift-bic
     :initarg :swift-bic
     :type (or string null)
     :initform nil
-    :custom string
+    :custom (choice string
+                   (const :tag "None" nil))
     :documentation "SWIFT or BIC code, for international transfers")
    (account-name
     :initarg :account-name

Reply via email to