fdf74897a3
Just log the warning in the message buffer.
17 lines
497 B
EmacsLisp
17 lines
497 B
EmacsLisp
;;; funcs.el --- Javascript Layer functions File for Spacemacs
|
|
;;
|
|
;; Copyright (c) 2012-2016 Sylvain Benner & Contributors
|
|
;;
|
|
;; Author: Muneeb Shaikh <muneeb@reversehack.in>
|
|
;; URL: https://github.com/syl20bnr/spacemacs
|
|
;;
|
|
;; This file is not part of GNU Emacs.
|
|
;;
|
|
;;; License: GPLv3
|
|
|
|
(defun javascript//tern-detect ()
|
|
"Detect tern binary and warn if not found."
|
|
(let ((found (executable-find "tern")))
|
|
(unless found
|
|
(spacemacs-buffer/warning "tern binary not found!"))
|
|
found))
|