diff --git a/rustic-spellcheck.el b/rustic-spellcheck.el index 7662e480..9bc8cc02 100644 --- a/rustic-spellcheck.el +++ b/rustic-spellcheck.el @@ -16,7 +16,7 @@ "Buffer name for spellcheck buffers.") (defvar rustic-spellcheck-arguments "" - "Holds arguments for 'cargo spellcheck', similar to `compilation-arguments`.") + "Holds arguments for `cargo spellcheck', similar to `compilation-arguments`.") (defvar rustic-cargo-spellcheck-mode-map (let ((map (make-sparse-keymap))) @@ -90,7 +90,7 @@ Error matching regexes from compile.el are removed." ;;;###autoload (defun rustic-cargo-spellcheck (&optional arg) - "Run 'cargo spellcheck'. + "Run `cargo spellcheck'. If ARG is not nil, use value as argument and store it in `rustic-spellcheck-arguments'. When calling this function from @@ -104,10 +104,9 @@ If ARG is not nil, use value as argument and store it in (t "")))) (defun rustic-cargo-spellcheck-command (&optional spellcheck-args) - "Start compilation process for 'cargo spellcheck' with optional SPELLCHECK-ARGS." + "Start compilation process for `cargo spellcheck' with optional SPELLCHECK-ARGS." (let* ((command (list (rustic-cargo-bin) "spellcheck")) (c (append command (split-string (if spellcheck-args spellcheck-args "")))) - (spellcheck-command (string-join c " ")) (buf rustic-spellcheck-buffer-name) (proc rustic-spellcheck-process-name) (mode 'rustic-cargo-spellcheck-mode)) @@ -115,7 +114,7 @@ If ARG is not nil, use value as argument and store it in ;;;###autoload (defun rustic-cargo-spellcheck-rerun () - "Run 'cargo spellcheck' with `rustic-spellcheck-arguments'." + "Run `cargo spellcheck' with `rustic-spellcheck-arguments'." (interactive) (rustic-cargo-spellcheck-command rustic-spellcheck-arguments))