From 139b8551d4e5b7452322fe931d2fed40ea2abdac Mon Sep 17 00:00:00 2001 From: Fanael Linithien Date: Mon, 13 Oct 2014 19:12:25 +0200 Subject: [PATCH] Introduce declarations to haskell-yas.el so it byte-compiles cleanly. --- haskell-yas.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/haskell-yas.el b/haskell-yas.el index 95519cf11..f6fb55a3b 100644 --- a/haskell-yas.el +++ b/haskell-yas.el @@ -54,6 +54,10 @@ (defconst haskell-snippets-dir (expand-file-name "snippets" (file-name-directory (or (buffer-file-name) load-file-name)))) +(defvar yas-snippet-dirs) +(declare-function yas-load-directory "ext:yasnippet" + (top-level-dir &optional use-jit interactive)) + ;;;###autoload (defun haskell-snippets-initialize () "Register haskell snippets with yasnippet."