[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dash 8a145ca: Fix compilation issues in elpa.git
From: |
Stefan Monnier |
Subject: |
[elpa] externals/dash 8a145ca: Fix compilation issues in elpa.git |
Date: |
Wed, 27 Dec 2017 21:11:38 -0500 (EST) |
branch: externals/dash
commit 8a145cacf872cf2f292337a67516cdc4e29a02ba
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>
Fix compilation issues in elpa.git
* dev/examples.el: Require examples-to-tests to make it compilable.
* .gitignore: Add a general .elc rule to also catch dev/*.elc.
---
.gitignore | 3 +--
dev/examples.el | 5 ++++-
2 files changed, 5 insertions(+), 3 deletions(-)
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))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/dash 8a145ca: Fix compilation issues in elpa.git,
Stefan Monnier <=