branch: externals/ebdb
commit 99a1563f941ddb5e8d31134d443ab18e8eaa1e99
Author: Eric Abrahamsen <[email protected]>
Commit: Eric Abrahamsen <[email protected]>

    Fix custom type for database buffer-char slot
    
    * ebdb.el (ebdb-db): Could be character or nil.
---
 ebdb.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ebdb.el b/ebdb.el
index 184f90f..81a3f1a 100644
--- a/ebdb.el
+++ b/ebdb.el
@@ -3370,7 +3370,8 @@ executable.  When a symbol, assume an Elisp function."
     :initarg :buffer-char
     :type (or null character)
     :initform nil
-    :custom character
+    :custom (choice (const :tag "None" nil)
+                   (character :tag "Character"))
     :documentation
     "A single character used in the *EBDB* buffer to indicate the
     database(s) to which a record belongs.")

Reply via email to