[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ebdb e159e3a 070/350: Yet another method definition in
From: |
Eric Abrahamsen |
Subject: |
[elpa] externals/ebdb e159e3a 070/350: Yet another method definition in the wrong place |
Date: |
Mon, 14 Aug 2017 11:46:05 -0400 (EDT) |
branch: externals/ebdb
commit e159e3a394747fd83ba8624a77488d3904c34b17
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>
Yet another method definition in the wrong place
* ebdb.el (ebdb-field-mail-compose): Move below definition of
`ebdb-record-entity'
---
ebdb.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/ebdb.el b/ebdb.el
index 300e9a7..df6f967 100644
--- a/ebdb.el
+++ b/ebdb.el
@@ -1047,10 +1047,6 @@ values, by default the search is not handed to the name
field itself."
The optional \"object-name\" slot can serve as a mail aka."
:human-readable "mail")
-(cl-defmethod ebdb-field-mail-compose ((record ebdb-record-entity)
- (mail ebdb-field-mail))
- (ebdb-compose-mail (ebdb-dwim-mail record mail)))
-
(cl-defmethod ebdb-init-field ((mail ebdb-field-mail) &optional record)
(with-slots (aka mail) mail
(ebdb-puthash mail record)
@@ -2159,6 +2155,10 @@ priority."
(let ((sorted (ebdb-sort-mails (slot-value record 'mail))))
(setf (slot-value record 'mail) sorted)))
+(cl-defmethod ebdb-field-mail-compose ((record ebdb-record-entity)
+ (mail ebdb-field-mail))
+ (ebdb-compose-mail (ebdb-dwim-mail record mail)))
+
(cl-defmethod ebdb-record-primary-mail ((record ebdb-record-entity))
"Return the primary mail field of RECORD."
(let ((mails (ebdb-record-mail record t)))
- [elpa] externals/ebdb 118f567 062/350: Add a "defunct" arg to ebdb-record-mail, (continued)
- [elpa] externals/ebdb 118f567 062/350: Add a "defunct" arg to ebdb-record-mail, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 90cb02a 068/350: Remove ebdb-mail-address, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb decfc94 073/350: Update company-ebdb to work, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 47ac653 066/350: Fix autoload for ebdb-org-field-tags definition, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb b2fdb42 064/350: Include record name when prompting for mail, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 41bc859 084/350: Still need to hash newly-added records, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb dc517a1 067/350: More fixes to merging logic in ebdb-db-load, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb b9d7727 087/350: Fill out the ebdb-parse process, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb a5b00bd 074/350: Re-init mail fields after moving them to a role, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 76621c7 091/350: Clean up keymap bindings, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb e159e3a 070/350: Yet another method definition in the wrong place,
Eric Abrahamsen <=
- [elpa] externals/ebdb 38db90d 063/350: Improve ebdb-copy-mail-as-kill, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb f397e3d 092/350: Add missing require statement, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb ae23a9b 095/350: Fix to ebdb-parse with field-name-simple, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 6197578 107/350: Change default separator of org tags, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb f1edaed 075/350: Prevent eieio-persistent-save from changing db file slot, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb c7d378b 071/350: Autoload eieio-customize-object, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 31bf2cf 117/350: No, that's not the proper way to create a &context catchall, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb a2de313 110/350: Install ebdb-save as a kill-emacs-hook, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb ab1480b 078/350: Remove ebdb-this-buffer-name, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 1c4fadd 080/350: Make ebdb-record-name a get-or-get-and-set operation, Eric Abrahamsen, 2017/08/14