Skip to content

Commit 3155a47

Browse files
committed
Improve error message when command not in vterm-eval-cmds
1 parent a7be72a commit 3155a47

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vterm.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1584,7 +1584,8 @@ the called functions."
15841584
(f (assoc command vterm-eval-cmds)))
15851585
(if f
15861586
(apply (cadr f) args)
1587-
(message "Failed to find command: %s" command))))
1587+
(message "Failed to find command: %s. To execute a command,
1588+
add it to the `vterm-eval-cmd' list" command))))
15881589

15891590
;; TODO: Improve doc string, it should not point to the readme but it should
15901591
;; be self-contained.

0 commit comments

Comments
 (0)