diff --git a/.gitignore b/.gitignore index 4ec8ea2..d6d59bd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -/dash.elc -/dash-functional.elc +*.elc /dash-autoloads.el /dash-pkg.el diff --git a/dev/examples.el b/dev/examples.el index 22ea314..08961bb 100644 --- a/dev/examples.el +++ b/dev/examples.el @@ -1,6 +1,6 @@ ;;; examples.el --- Examples/tests for dash.el's API -*- lexical-binding: t -*- -;; Copyright (C) 2015 Free Software Foundation, Inc. +;; Copyright (C) 2015, 2017 Free Software Foundation, Inc. ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -23,6 +23,9 @@ ;;; Code: (require 'dash) +(eval-when-compile + (unless (fboundp 'def-example-group) + (require 'examples-to-tests "dev/examples-to-tests"))) (defun even? (num) (= 0 (% num 2))) (defun square (num) (* num num))