13 lines
396 B
EmacsLisp
13 lines
396 B
EmacsLisp
|
;;; app/everywhere/doctor.el -*- lexical-binding: t; -*-
|
||
|
|
||
|
(when IS-WINDOWS
|
||
|
(error! "emacs-everywhere package does not support windows."))
|
||
|
|
||
|
(when IS-LINUX
|
||
|
(let (unmet-deps)
|
||
|
(dolist (dep '("xclip" "xdotool" "xprop" "xwininfo"))
|
||
|
(unless (executable-find dep)
|
||
|
(push dep unmet-deps)))
|
||
|
(when unmet-deps
|
||
|
(error! "Unmet dependencies: %s" (string-join unmet-deps ", ")))))
|