diff options
| author | Simeon Simeonov | 2024-03-14 22:27:34 +0100 |
|---|---|---|
| committer | Simeon Simeonov | 2024-03-14 22:27:34 +0100 |
| commit | 236114bdeab5edab09969e5ad398c32c2738dead (patch) | |
| tree | 42b337b433de9ada45f2aa441833c5cde42c3a1e /.emacs.d/lisp/rust-cargo.el | |
| parent | 9fffbc025f80ef22a77ccc62f53baa990568b214 (diff) | |
Upgrade markdown-mode, rust and yasnippet
Diffstat (limited to '.emacs.d/lisp/rust-cargo.el')
| -rw-r--r-- | .emacs.d/lisp/rust-cargo.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.emacs.d/lisp/rust-cargo.el b/.emacs.d/lisp/rust-cargo.el index cfbcd81..bda23d8 100644 --- a/.emacs.d/lisp/rust-cargo.el +++ b/.emacs.d/lisp/rust-cargo.el | |||
| @@ -46,7 +46,8 @@ | |||
| 46 | (when (/= ret 0) | 46 | (when (/= ret 0) |
| 47 | (error "`cargo locate-project' returned %s status: %s" ret (buffer-string))) | 47 | (error "`cargo locate-project' returned %s status: %s" ret (buffer-string))) |
| 48 | (goto-char 0) | 48 | (goto-char 0) |
| 49 | (let ((output (json-read))) | 49 | (let ((output (let ((json-object-type 'alist)) |
| 50 | (json-read)))) | ||
| 50 | (cdr (assoc-string "root" output))))))) | 51 | (cdr (assoc-string "root" output))))))) |
| 51 | 52 | ||
| 52 | (defun rust-buffer-crate () | 53 | (defun rust-buffer-crate () |
