;;; funcs.el --- Javascript Layer functions File for Spacemacs ;; ;; Copyright (c) 2012-2016 Sylvain Benner & Contributors ;; ;; Author: Muneeb Shaikh ;; 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))