Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Commit 2d430f5

Browse files
committed
cl: use cl- prefix instead of older aliases
1 parent 81f9732 commit 2d430f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lsp-python-ms.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ paths and then the entire list will be json-encoded."
6969
(sp (concat "sys.path.insert(0, '" workspace-root "'); print(json.dumps(sys.path))")))
7070
(with-temp-buffer
7171
(call-process python nil t nil "-c" (concat init ver sp))
72-
(subseq (split-string (buffer-string) "\n") 0 2))))
72+
(cl-subseq (split-string (buffer-string) "\n") 0 2))))
7373

7474
;; I based most of this on the vs.code implementation:
7575
;; https://github.com/Microsoft/vscode-python/blob/master/src/client/activation/languageServer/languageServer.ts#L219
@@ -79,7 +79,7 @@ paths and then the entire list will be json-encoded."
7979
8080
Optionally add the WORKSPACE to the python search list."
8181
(let ((workspace-root (if workspace (lsp--workspace-root workspace) (pwd))))
82-
(destructuring-bind (pyver pysyspath)
82+
(cl-destructuring-bind (pyver pysyspath)
8383
(lsp-python-ms--get-python-ver-and-syspath workspace-root)
8484
`(:interpreter
8585
(:properties (:InterpreterPath ,(executable-find python-shell-interpreter)

0 commit comments

Comments
 (0)