branch: externals/cape
commit 3ccb3bbd6633e63444de3112a50a6b0f18d8122b
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>
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)