[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
- [elpa] externals/ebdb 18be9ad 04/21: Add ebdb-field-bank-account class, (continued)
- [elpa] externals/ebdb 18be9ad 04/21: Add ebdb-field-bank-account class, Eric Abrahamsen, 2017/09/17
- [elpa] externals/ebdb dc5d03e 01/21: Change behavior of ebdb-fmt-compose-field, Eric Abrahamsen, 2017/09/17
- [elpa] externals/ebdb 9c0947c 05/21: Comment out some custom definitions for address field, Eric Abrahamsen, 2017/09/17
- [elpa] externals/ebdb 4a332dc 03/21: Add defgeneric for ebdb-read, Eric Abrahamsen, 2017/09/17
- [elpa] externals/ebdb 767a9fa 07/21: Allow two kinds of searches on tags, Eric Abrahamsen, 2017/09/17
- [elpa] externals/ebdb 8fc7b6d 08/21: Allow "fast lookups", Eric Abrahamsen, 2017/09/17
- [elpa] externals/ebdb e3229ad 11/21: Give some indication that the migration process is ongoing, Eric Abrahamsen, 2017/09/17
- [elpa] externals/ebdb efd9e15 12/21: Provide an alternate threaded version of ebdb-initialize, Eric Abrahamsen, 2017/09/17
- [elpa] externals/ebdb 2fa4379 14/21: New option ebdb-try-speedups, Eric Abrahamsen, 2017/09/17
- [elpa] externals/ebdb 09a04b2 19/21: Fix up ebdb-string method for bank accounts, Eric Abrahamsen, 2017/09/17
- [elpa] externals/ebdb 2b52686 18/21: Check type spec of slots that may or may not accept an object,
Eric Abrahamsen <=
- [elpa] externals/ebdb b3266e5 17/21: Apparently when-let will be obsoleted by when-let*, Eric Abrahamsen, 2017/09/17