tools/vterm: minor refactor

Don't end warnings in punctuation, and throw error if modules support is
missing.
This commit is contained in:
Henrik Lissner 2019-03-13 20:20:19 -04:00
parent bd6233518b
commit fa98551d19
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 8 additions and 4 deletions

View file

@ -1,13 +1,13 @@
;;; tools/vterm/doctor.el -*- lexical-binding: t; -*-
(unless (executable-find "vterm-ctrl")
(warn! "Couldn't find libvterm. Vterm module won't compile."))
(warn! "Couldn't find libvterm. Vterm module won't compile"))
(unless (executable-find "make")
(warn! "Couldn't find make command. Vterm module won't compile."))
(warn! "Couldn't find make command. Vterm module won't compile"))
(unless (executable-find "cmake")
(warn! "Couldn't find cmake command. Vterm module won't compile"))
(unless (fboundp 'module-load)
(warn! "Your emacs don't have MODULES support. Vterm module won't work."))
(warn! "Your emacs doesn't have MODULES support. Vterm module won't work"))