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

    Add a "follow related" action to role fields
    
    * ebdb.el (ebdb-field-role): Should be able to hit RET to add the
      related record.
---
 ebdb.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ebdb.el b/ebdb.el
index cfb2e9f..e3042e1 100644
--- a/ebdb.el
+++ b/ebdb.el
@@ -1327,7 +1327,9 @@ first one."
      :initform nil
      :documentation "If t, this role is considered defunct (ie
      the person left their job, etc).  Fields in the \"fields\"
-     slot will generally be ignored by the rest of EBDB."))
+     slot will generally be ignored by the rest of EBDB.")
+   (actions
+    :initform '(("Display role relation" . ebdb-follow-related))))
   :documentation "This class represents a relationship between
   the record which owns this field, and the
   `ebdb-record-organization' pointed to by the \"organization\"

Reply via email to