[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/webfeeder e364ffa: * webfeeder-test.el, webfeeder-test-
From: |
Stefan Monnier |
Subject: |
[elpa] externals/webfeeder e364ffa: * webfeeder-test.el, webfeeder-test-gen.el: Add licence blurb |
Date: |
Tue, 26 Mar 2019 08:42:50 -0400 (EDT) |
branch: externals/webfeeder
commit e364ffa6c5f0f926769bf89257508fd53599ac22
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>
* webfeeder-test.el, webfeeder-test-gen.el: Add licence blurb
* .gitignore: New file.
* webfeeder.el (webfeeder-make-atom): Silence compiler warning.
---
.gitignore | 3 +++
webfeeder-test-gen.el | 17 +++++++++++++++++
webfeeder-test.el | 24 ++++++++++++++++++++++--
webfeeder.el | 2 +-
4 files changed, 43 insertions(+), 3 deletions(-)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e6a6f56
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+*.elc
+webfeeder-pkg.el
+webfeeder-autoloads.el
diff --git a/webfeeder-test-gen.el b/webfeeder-test-gen.el
index c31fcc3..c36f329 100644
--- a/webfeeder-test-gen.el
+++ b/webfeeder-test-gen.el
@@ -1,3 +1,20 @@
+;;; webfeeder-test-gen.el --- ?? -*- lexical-binding: t -*-
+
+;; Copyright (C) 2019 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
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+;;
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+;;
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
;;; Commentary:
;; Test resources should not be generated for it might render the test suite
;; non-reproducible. Indeed, the results of Org export depend on the version
of
diff --git a/webfeeder-test.el b/webfeeder-test.el
index bf063f4..a5c3ff3 100644
--- a/webfeeder-test.el
+++ b/webfeeder-test.el
@@ -1,6 +1,25 @@
+;;; webfeeder-test.el --- ?? -*- lexical-binding: t -*-
+
+;; Copyright (C) 2019 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
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+;;
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+;;
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
(require 'ert)
-(add-to-list 'load-path ".")
+(add-to-list 'load-path ".") ;FIXME: Really?
(require 'webfeeder)
(require 'diff)
(require 'cl-lib)
@@ -36,7 +55,8 @@
(delete-file file-a)
(delete-file file-b)))))
-(put 'string= 'ert-explainer 'webfeeder--string=-explainer)
+;; FIXME: Add this to ERT!
+(put 'string= 'ert-explainer #'webfeeder--string=-explainer)
(defun webfeeder--test-pages (feed html-files
&optional builder max-entries)
diff --git a/webfeeder.el b/webfeeder.el
index eeb47a6..cf9bd51 100644
--- a/webfeeder.el
+++ b/webfeeder.el
@@ -472,7 +472,7 @@ FEED-ITEMS can be generated with
`webfeeder-html-files-to-items'."
;;;###autoload
(cl-defun webfeeder-make-atom (webfeed url feed-items
- &key title subtitle description
+ &key title subtitle ;; description
author generator
build-date predicate max-entries
&allow-other-keys)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/webfeeder e364ffa: * webfeeder-test.el, webfeeder-test-gen.el: Add licence blurb,
Stefan Monnier <=