1
0
mirror of https://github.com/Foltik/dotfiles synced 2025-02-12 12:29:54 -05:00

Change position to cl-position

This commit is contained in:
Jack Foltz 2019-02-06 18:48:50 -05:00
parent ffd905a7ff
commit 5b5fb2b9e8
No known key found for this signature in database
GPG Key ID: E7B502AB1576E6CD

View File

@ -161,7 +161,7 @@ Some functions to help with creating custom use-package keywords
"Add the keyword to use-package at the proper index,
and to the deferring keywords list if necessary"
(setq use-package-keywords
(let ((idx (+ 1 (position :hook use-package-keywords))))
(let ((idx (+ 1 (cl-position :hook use-package-keywords))))
(append
(seq-subseq use-package-keywords 0 idx)
(list keyword)