8 lines
251 B
EmacsLisp
8 lines
251 B
EmacsLisp
;;; lang/rust/autoload.el -*- lexical-binding: t; -*-
|
|
|
|
;; TODO (defun +rust/run-cargo () (interactive))
|
|
|
|
;;;###autoload
|
|
(defun +rust-cargo-project-p ()
|
|
"Return t if this is a cargo project."
|
|
(locate-dominating-file buffer-file-name "Cargo.toml"))
|