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

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

[elpa] externals/ebdb 4d26065 339/350: Prepare ebdb-gnorb to be extricat


From: Eric Abrahamsen
Subject: [elpa] externals/ebdb 4d26065 339/350: Prepare ebdb-gnorb to be extricated
Date: Mon, 14 Aug 2017 11:47:06 -0400 (EDT)

branch: externals/ebdb
commit 4d2606528084e79e29472e43e4ea628058602d56
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>

    Prepare ebdb-gnorb to be extricated
    
    Though who knows where it should actually go.
    
    * ebdb.el: Remove the defclass autoload for gnorb-ebdb-field-messages
      from this file.
    * ebdb-gnorb.el: Put it here, where it should (?) be correctly picked
      up by Elpa's autoload creation routines. Also, add correct library
      headers, and require bits of Gnorb.
---
 ebdb-gnorb.el | 10 ++++++++++
 ebdb.el       |  6 ------
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/ebdb-gnorb.el b/ebdb-gnorb.el
index eba3f16..91f57ed 100644
--- a/ebdb-gnorb.el
+++ b/ebdb-gnorb.el
@@ -3,6 +3,8 @@
 ;; Copyright (C) 2016-2017  Free Software Foundation, Inc.
 
 ;; Author: Eric Abrahamsen <address@hidden>
+;; Version: 1
+;; Package-Requires: ((gnorb "1.1.0") (ebdb "0.2"))
 
 ;; This program is free software; you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by
@@ -26,6 +28,8 @@
 
 (require 'ebdb-format)
 (require 'ebdb-com)
+(require 'gnorb-org)
+(require 'gnorb-gnus)
 
 ;; Probably we shouldn't use this, EBDB should not have a dependency
 ;; on Org.
@@ -225,4 +229,10 @@ to a message into the record's 
`gnorb-ebdb-messages-field'."
         (make-instance 'gnorb-ebdb-field-messages
                        :messages links))))))
 
+(eieio-defclass-autoload
+ 'gnorb-ebdb-field-messages
+ 'ebdb-field-user
+ "ebdb-gnorb"
+ "Gnorb field holding links to Gnus messages.")
+
 (provide 'ebdb-gnorb)
diff --git a/ebdb.el b/ebdb.el
index 1f02a10..4a704a5 100644
--- a/ebdb.el
+++ b/ebdb.el
@@ -5138,12 +5138,6 @@ prompt users for more complex search criteria, if 
necessary.")
 ;; Might save users some small surprises.
 
 (eieio-defclass-autoload
- 'gnorb-ebdb-field-messages
- 'ebdb-field-user
- "ebdb-gnorb"
- "Gnorb field holding links to Gnus messages.")
-
-(eieio-defclass-autoload
  'ebdb-org-field-tags
  'ebdb-field-user
  "ebdb-org"



reply via email to

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