diff options
author | Michael Rohleder <mike@rohleder.de> | 2020-12-06 16:15:26 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-12 21:45:58 +0100 |
commit | 036df7468c49a123d607581138dcee65291c7c6b (patch) | |
tree | f863531c8ba2085cfa2a922fb940283f6bdcac55 /gnu/packages/emacs-xyz.scm | |
parent | 4060df28d6c121f5541f2c47c54923df7354ab42 (diff) | |
download | guix-036df7468c49a123d607581138dcee65291c7c6b.tar guix-036df7468c49a123d607581138dcee65291c7c6b.tar.gz |
gnu: emacs-list-utils: Suppress warning "Package cl is deprecated".
* gnu/packages/emacs-xyz.scm (emacs-list-utils)[arguments]: Add phase
patch-require-cl to substitute "(require 'cl)" in a autoload section.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages/emacs-xyz.scm')
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index aab881d43b..004c293f52 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -15261,6 +15261,14 @@ and @code{erc-send-modify-hook} to download and show images.") (sha256 (base32 "07hbz2md52ccy95gv4d5n6szrfmpfqf3w4kwqdg2cf54c7kgf7hw")))) (build-system emacs-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-require-cl + (lambda _ + (substitute* "list-utils.el" + (("\\(require 'cl\\)") "(require 'cl-lib)")) + #t))))) (home-page "https://github.com/rolandwalker/list-utils") (synopsis "List-manipulation utility functions") (description "This package provides a list manipulation library for Emacs.") |