[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-surround ea14078cb2 171/175: Make car + cdr safe for
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-surround ea14078cb2 171/175: Make car + cdr safe for delete overlays |
Date: |
Mon, 9 Oct 2023 13:01:17 -0400 (EDT) |
branch: elpa/evil-surround
commit ea14078cb2b934961b41d5179996ebd8d283273b
Author: Tom Dalziel <tom_dl@hotmail.com>
Commit: Tom Dalziel <tom_dl@hotmail.com>
Make car + cdr safe for delete overlays
---
evil-surround.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/evil-surround.el b/evil-surround.el
index bd47d88de3..e01e8d0ab3 100644
--- a/evil-surround.el
+++ b/evil-surround.el
@@ -228,8 +228,8 @@ Does not modify the buffer."
"Return overlay from provided delimiters or character.
Preferably, use DELIMS to select the correct range. Otherwise, use CHAR.
This overlay includes the delimeters."
- (let ((open (car delims))
- (close (cdr delims))
+ (let ((open (car-safe delims))
+ (close (cdr-safe delims))
outer)
(if (and (stringp open) (stringp close))
(let* ((o (regexp-quote open))
@@ -252,8 +252,8 @@ This overlay includes the delimeters."
"Return overlay from provided delimiters or character.
Preferably, use DELIMS to select the correct range. Otherwise, use CHAR.
This overlay excludes the delimeters."
- (let ((open (car delims))
- (close (cdr delims))
+ (let ((open (car-safe delims))
+ (close (cdr-safe delims))
inner)
(if (and (stringp open) (stringp close))
(let* ((o (regexp-quote open))
- [nongnu] elpa/evil-surround 57daf201cd 120/175: add yS test, (continued)
- [nongnu] elpa/evil-surround 57daf201cd 120/175: add yS test, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 6270ab1830 121/175: Fix repeat when pair is determined by function, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 61e4a4aa5c 124/175: try out new logo scale, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 55c820083a 116/175: Use ‘evil-surround’ as :group for customizable variables, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 01eb3c0e4f 142/175: Remove apparently-unnecessary run-at-time, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 191ad92fb8 155/175: Add support for surrounding with function calls in prefix form, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 4706987bc0 151/175: fix make emacs, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround ee61a65200 144/175: Fix repeating tag changes, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 78b2958546 164/175: Update maintainer for NonGNU ELPA, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround bd98f7f549 175/175: Return an empty range from evil-surround-edit, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround ea14078cb2 171/175: Make car + cdr safe for delete overlays,
ELPA Syncer <=
- [nongnu] elpa/evil-surround ee19b598ca 019/175: Merge pull request #8 from cofi/master, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 9f2917cfe2 018/175: Mention the buffer local surround pairs in the readme., ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround c42ddb5d1d 023/175: add autoloads, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 31cc1da60c 026/175: Merge pull request #14 from milkypostman/master, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 0c503fc994 033/175: Merge branch 'master' of https://github.com/lyro/evil-surround, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 8b59d17d5c 038/175: Merge pull request #32 from Silex/master, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 77e7cd8de0 045/175: bring back the evil-Surround-region; make it work with yS, also, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 6f290e0270 048/175: Implement block-wise surround, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 7a2e79d7a8 039/175: Fix forgotten leftovers when renaming, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 72d35afc40 051/175: Fix surrounding with invalid chars, like ESC (Fix #51), ELPA Syncer, 2023/10/09