[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ebdb 281c61e 154/350: Don't ((lambda ())
From: |
Eric Abrahamsen |
Subject: |
[elpa] externals/ebdb 281c61e 154/350: Don't ((lambda ()) |
Date: |
Mon, 14 Aug 2017 11:46:26 -0400 (EDT) |
branch: externals/ebdb
commit 281c61effbd0dcfcf33eceea6f2ecae3f4674a37
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>
Don't ((lambda ())
* ebdb-com.el (ebdb-compare-records): Use funcall instead.
Note that none of these functions actually work, currently.
---
ebdb-com.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/ebdb-com.el b/ebdb-com.el
index 4628d84..2cac6f0 100644
--- a/ebdb-com.el
+++ b/ebdb-com.el
@@ -1426,7 +1426,7 @@ RECORD is returned if (COMPARE VALUE CMPVAL) is t, where
VALUE
is the value of xfield LABEL of RECORD."
`(lambda (record)
(let ((val (ebdb-record-field record ,label)))
- (if (and val (,compare val ,cmpval))
+ (if (and val (funcall ,compare val ,cmpval))
record))))
(defsubst ebdb-string> (a b)
@@ -1439,7 +1439,7 @@ is the value of xfield LABEL of RECORD."
DATE must be in yyyy-mm-dd format."
(interactive (list (read-string "Older than date (yyyy-mm-dd): ")
(ebdb-formatter-prefix)))
- (ebdb-search-prog (ebdb-compare-records date 'timestamp 'time-less-p) fmt))
+ (ebdb-search-prog (ebdb-compare-records date 'timestamp #'time-less-p) fmt))
;;;###autoload
(defun ebdb-timestamp-newer (date &optional fmt)
@@ -1457,7 +1457,7 @@ DATE must be in yyyy-mm-dd format."
DATE must be in yyyy-mm-dd format."
(interactive (list (read-string "Older than date (yyyy-mm-dd): ")
(ebdb-formatter-prefix)))
- (ebdb-search-prog (ebdb-compare-records date 'creation-date string<) fmt))
+ (ebdb-search-prog (ebdb-compare-records date 'creation-date #'string<) fmt))
;;;###autoload
(defun ebdb-creation-newer (date &optional fmt)
@@ -1465,7 +1465,7 @@ DATE must be in yyyy-mm-dd format."
DATE must be in yyyy-mm-dd format."
(interactive (list (read-string "Newer than date (yyyy-mm-dd): ")
(ebdb-formatter-prefix)))
- (ebdb-search-prog (ebdb-compare-records date 'creation-date ebdb-string>)
fmt))
+ (ebdb-search-prog (ebdb-compare-records date 'creation-date #'ebdb-string>)
fmt))
;;;###autoload
(defun ebdb-creation-no-change (&optional fmt)
- [elpa] externals/ebdb b635b4e 155/350: First stab at article snarfing, (continued)
- [elpa] externals/ebdb b635b4e 155/350: First stab at article snarfing, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 6c267e9 159/350: Fix pop-up mouse menus in EBDB buffers, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 55b3f82 160/350: Fixup with fix popup menus, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb abdb8cd 158/350: Update copyright years to 2017, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 5fdf286 166/350: Feeding incorrect args to ebdb-snarf, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 9b6c88d 167/350: Fix incorrect variable name, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb dd13813 171/350: Bah, fixups to a19ff0a, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb f1448f4 174/350: Remove this empty file, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 6479c87 173/350: Remove unused code, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb db930f6 163/350: Compiler-inspired fixes, and removal of old-code references, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 281c61e 154/350: Don't ((lambda ()),
Eric Abrahamsen <=
- [elpa] externals/ebdb 4cce4c8 096/350: Simplify role field adoption process, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 0910ddd 105/350: Change default of ebdb-default-user-field, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb b495e29 083/350: Omnibus changes to display and redisplay, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 29bf304 101/350: Rework MUA window popups, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 81e23c3 134/350: Simplify record mail citing, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb b661aac 124/350: First generalized version of snarfing, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb aae57ff 139/350: Ensure that extra name field instances go in 'aka slot, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 057c4c0 144/350: Have ebdb-snarf accept optional records argument, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 8d81a19 132/350: Add EBDB record citation, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 7662133 140/350: Simplify ebdb-dwim-mail, Eric Abrahamsen, 2017/08/14