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

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

[elpa] externals/ebdb 2b52686 18/21: Check type spec of slots that may o


From: Eric Abrahamsen
Subject: [elpa] externals/ebdb 2b52686 18/21: Check type spec of slots that may or may not accept an object
Date: Sun, 17 Sep 2017 15:32:48 -0400 (EDT)

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

    Check type spec of slots that may or may not accept an object
    
    * ebdb.el (ebdb-field-bank-account): A type spec that looks like `(or
      null class-name)' *must* specify the null first, then the class
      name. Putting the class name first results in an error. This seems
      like a bug to me -- it's an `or' statement, it shouldn't matter.
---
 ebdb.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ebdb.el b/ebdb.el
index fad9363..18896ad 100644
--- a/ebdb.el
+++ b/ebdb.el
@@ -2203,7 +2203,7 @@ See `ebdb-url-valid-schemes' for a list of acceptable 
schemes."
     :documentation "Bank name")
    (bank-address
     :initarg :bank-address
-    :type (or ebdb-field-address null)
+    :type (or null ebdb-field-address)
     :initform nil
     ;; :custom (choice ebdb-field-address
     ;;                     (const :tag "No address" nil))
@@ -2233,7 +2233,7 @@ See `ebdb-url-valid-schemes' for a list of acceptable 
schemes."
     :documentation "A list of account labels and numbers/IBANs")
    (notes
     :initarg :notes
-    :type (or ebdb-field-notes null)
+    :type (or null ebdb-field-notes)
     ;; :custom (choice ebdb-field-notes
     ;;                     (const :tag "No notes" nil))
     :initform nil



reply via email to

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