[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/cape 3ccb3bbd66: Avoid setf
From: |
ELPA Syncer |
Subject: |
[elpa] externals/cape 3ccb3bbd66: Avoid setf |
Date: |
Wed, 31 Aug 2022 05:57:27 -0400 (EDT) |
branch: externals/cape
commit 3ccb3bbd6633e63444de3112a50a6b0f18d8122b
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Avoid setf
---
cape.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cape.el b/cape.el
index 6297765e85..b437c35745 100644
--- a/cape.el
+++ b/cape.el
@@ -256,7 +256,7 @@ If INTERACTIVE is nil the function acts like a Capf."
(file (buffer-substring (car bounds) (cdr bounds)))
;; Support org links globally, see `org-open-at-point-global'.
(org (string-prefix-p "file:" file)))
- (when org (setf (car bounds) (+ 5 (car bounds))))
+ (when org (setcar bounds (+ 5 (car bounds))))
(when (or org
(not cape-file-directory-must-exist)
(and (string-match-p "/" file)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/cape 3ccb3bbd66: Avoid setf,
ELPA Syncer <=