[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/autothemer 869c0e98d7 10/21: Merge pull request #3 from sy
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/autothemer 869c0e98d7 10/21: Merge pull request #3 from syohex/cl-lib |
Date: |
Thu, 6 Jan 2022 02:58:09 -0500 (EST) |
branch: elpa/autothemer
commit 869c0e98d76a09bbedef2adab24bc829572caf6b
Merge: 8b865c39a2 84a331860f
Author: sebastiansturm <sturm@itp.uni-leipzig.de>
Commit: GitHub <noreply@github.com>
Merge pull request #3 from syohex/cl-lib
Fix for cl-lib
---
autothemer.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/autothemer.el b/autothemer.el
index 53182accd4..33a14f3d13 100644
--- a/autothemer.el
+++ b/autothemer.el
@@ -5,7 +5,7 @@
;; Author: Sebastian Sturm
;; URL: https://github.com/sebastiansturm/autothemer
;; Version: 0.2
-;; Package-Requires: ((dash "2.10.0") (emacs "24"))
+;; Package-Requires: ((dash "2.10.0") (emacs "24") (cl-lib "0.5"))
;;; Commentary:
@@ -14,7 +14,7 @@
;; face customization code using the theme's color palette.
;;; Code:
-(require 'cl-macs)
+(require 'cl-lib)
(require 'dash)
(cl-defstruct autothemer--color name value)
@@ -180,7 +180,7 @@ unbound symbols, such as `normal' or `demibold'."
(defun autothemer--replace-nil-by-precursor (palette-row)
"Iterate over elements of PALETTE-ROW and replace every occurrence of nil by
its most recent non-nil precursor. The first element of PALETTE-ROW should be
non-nil."
- (assert (car palette-row))
+ (cl-assert (car palette-row))
(let* ((color-name (car palette-row))
(color-definitions (cdr palette-row))
(last-definition))
@@ -228,7 +228,7 @@ palette used in the most recent invocation of
(defun autothemer--append-column (list-of-lists new-column)
"If LIST-OF-LISTS is nil, return NEW-COLUMN. Otherwise, append to every
element of LIST-OF-LISTS the corresponding element of NEW-COLUMN."
- (assert (or (not list-of-lists) (eq (length list-of-lists) (length
new-column))))
+ (cl-assert (or (not list-of-lists) (eq (length list-of-lists) (length
new-column))))
(if list-of-lists (-zip-with #'append list-of-lists new-column)
new-column))
- [nongnu] branch elpa/autothemer created (now 36f1f4f0c7), ELPA Syncer, 2022/01/06
- [nongnu] elpa/autothemer 6510a81209 01/21: First working version, ELPA Syncer, 2022/01/06
- [nongnu] elpa/autothemer cd4724173d 03/21: Bugfix: ignore colors that are not color-defined-p, ELPA Syncer, 2022/01/06
- [nongnu] elpa/autothemer b0bf38b202 05/21: Cleanup, add package header, ELPA Syncer, 2022/01/06
- [nongnu] elpa/autothemer f7be1b486f 04/21: Cleanup, ELPA Syncer, 2022/01/06
- [nongnu] elpa/autothemer 84a331860f 09/21: Fix for cl-lib, ELPA Syncer, 2022/01/06
- [nongnu] elpa/autothemer 869c0e98d7 10/21: Merge pull request #3 from syohex/cl-lib,
ELPA Syncer <=
- [nongnu] elpa/autothemer add7d430e0 13/21: call deftheme before evaluating BODY, ELPA Syncer, 2022/01/06
- [nongnu] elpa/autothemer 13d1eafc04 14/21: Bump package version to 0.2.2, ELPA Syncer, 2022/01/06
- [nongnu] elpa/autothemer d2f0fa1d92 16/21: Rework and flesh-out the README documentation (#9), ELPA Syncer, 2022/01/06
- [nongnu] elpa/autothemer 69488c71df 18/21: Do not require autothemer or dash at runtime. (#13), ELPA Syncer, 2022/01/06
- [nongnu] elpa/autothemer 36f1f4f0c7 21/21: Bump version to 0.2.3, ELPA Syncer, 2022/01/06
- [nongnu] elpa/autothemer 8b865c39a2 08/21: Add readme, ELPA Syncer, 2022/01/06
- [nongnu] elpa/autothemer 0fdabd22e0 11/21: Fix bug in autothemer-generate-templates, ELPA Syncer, 2022/01/06
- [nongnu] elpa/autothemer 8ec0c27a73 19/21: Add color palette export/re-use example, ELPA Syncer, 2022/01/06
- [nongnu] elpa/autothemer b318488f1e 02/21: Allow different face specs for different terminals, ELPA Syncer, 2022/01/06
- [nongnu] elpa/autothemer 523a0994e5 07/21: Rename defautotheme to deftheme, ELPA Syncer, 2022/01/06