2021-02-27 21:01:19 +01:00
|
|
|
;;; editor/parinfer/doctor.el -*- lexical-binding: t; -*-
|
|
|
|
|
|
|
|
(when (featurep! +rust)
|
|
|
|
(unless (fboundp 'module-load)
|
|
|
|
(warn! "Your emacs wasn't built with dynamic modules support. `parinfer-rust-mode' won't work"))
|
|
|
|
(when (and (eq system-type 'berkeley-unix)
|
2021-02-28 00:19:12 +01:00
|
|
|
(not (file-readable-p (concat user-emacs-directory
|
|
|
|
".local/etc/parinfer-rust/libparinfer_rust.so"))))
|
2021-02-27 21:01:19 +01:00
|
|
|
(warn! (concat "Could not read " user-emacs-directory
|
|
|
|
".local/etc/parinfer-rust/libparinfer_rust.so. "
|
|
|
|
"`parinfer-rust-mode' won't work"))))
|