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

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

[elpa] externals/ebdb fb10925183 3/7: Add an arbitrary comment slot to a


From: Eric Abrahamsen
Subject: [elpa] externals/ebdb fb10925183 3/7: Add an arbitrary comment slot to all fields
Date: Sat, 26 Feb 2022 11:12:19 -0500 (EST)

branch: externals/ebdb
commit fb10925183b29fd173fb97552334b25d6e433865
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>

    Add an arbitrary comment slot to all fields
    
    * ebdb.el (ebdb-field): New slot inherited by all fields; not sure how
    to deal with this yet.
---
 ebdb.el | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/ebdb.el b/ebdb.el
index f49a063583..5028143e2e 100644
--- a/ebdb.el
+++ b/ebdb.el
@@ -962,7 +962,15 @@ Test for presence is done with `equal'."
     :initform nil
     :documentation
     "A list of actions which this field can perform.  Each list
-  element is a cons of string name and function name."))
+  element is a cons of string name and function name.")
+   (comment
+    :type (or null string)
+    :custom (choice (const :tag "No comment" nil)
+                   (string :tag "Comment"))
+    :initarg :comment
+    :initform nil
+    :documentation
+    "Arbitrary comment on this field value"))
   :abstract t :documentation "Abstract class for EBDB fields.
   Subclass this to produce real field types.")
 



reply via email to

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