[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ebdb fcee6ab 267/350: Protect against no current record
From: |
Eric Abrahamsen |
Subject: |
[elpa] externals/ebdb fcee6ab 267/350: Protect against no current record when redisplaying |
Date: |
Mon, 14 Aug 2017 11:46:51 -0400 (EDT) |
branch: externals/ebdb
commit fcee6ab0ae21eef6a31956bcdcf7ee30e2892ab0
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>
Protect against no current record when redisplaying
* ebdb-com.el (ebdb-redisplay-records): Code originally called
`ebdb-current-record' with no prior checks, this could easily throw
an error.
---
ebdb-com.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ebdb-com.el b/ebdb-com.el
index 877695f..cafdfe4 100644
--- a/ebdb-com.el
+++ b/ebdb-com.el
@@ -855,7 +855,7 @@ displayed records."
;; case. Check if record is present, or if its uuid has
;; been left behind by some previous redisplay. If
;; record isn't in this buffer, then bail.
- (setq local-record (cond ((equal r (ebdb-current-record))
+ (setq local-record (cond ((equal r (ignore-errors
(ebdb-current-record)))
(ebdb-current-record t))
((assoc r ebdb-records))
((assoc (ebdb-record-uuid r)
ebdb-records))
- [elpa] externals/ebdb 8dd1600 273/350: Change type of anniversary field dates, (continued)
- [elpa] externals/ebdb 8dd1600 273/350: Change type of anniversary field dates, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 57b2514 276/350: Use ebdb-with-record-edits in more places, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb f44a797 286/350: New function ebdb-mua-in-ebdb-buffer, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 4ce353e 237/350: Migrate more search routines to the ebdb-search-display thing, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 7040cad 247/350: Expand ebdb-helm to complete on mails as well, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb a6bc423 249/350: Remove unused customization groups, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 4ded53d 250/350: All vCard lines should be delimited with CRLF, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb a776d37 248/350: Don't use copy-sequence plus add-text-properties on strings, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 96b113d 251/350: New functions for folding/unfolding long vCard lines, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb b52cdc0 265/350: Record-insert|delete-field methods can find their own slots, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb fcee6ab 267/350: Protect against no current record when redisplaying,
Eric Abrahamsen <=
- [elpa] externals/ebdb f3b9525 269/350: Temporarily abandon having record-change-name accept strings, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 1a31515 274/350: Fixes to record loading, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 01262e3 277/350: Mark EBDB buffers as modified after edits, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb cc83f62 197/350: Add protection around ebdb-record-uuid, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 4f3db7f 195/350: Save match data around ebdb-parse-i18n, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb fcf0702 275/350: Mark EBDB buffers as unmodified after save, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 88f5e12 261/350: Fill out functionality of gnorb messages field, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb a81769c 272/350: Allow custom hash predicates, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb e80753a 264/350: Change ebdb-record-change-name to accept strings, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb d3e1485 283/350: Reinstate the notice record hook, and move notice-record method, Eric Abrahamsen, 2017/08/14