summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrett Gilio <brettg@gnu.org>2020-07-29 00:25:19 -0500
committerBrett Gilio <brettg@gnu.org>2020-07-29 00:25:19 -0500
commit8e04dcdb8f0a0484ca89841a46788dd4c128069e (patch)
tree9ce8f5796bb6b0f0a85c22308e9ec8bc0e876f09
parente86b6ef07c1d7aebc5a848d9f914754d26cfb58d (diff)
downloadguix-8e04dcdb8f0a0484ca89841a46788dd4c128069e.tar.gz
Revert "gnu: emacs-erc-image: Patch eval-after-load procedure."
This reverts commit 6fd2ecedb6e3ed802580561cd98a925a68292182.

This change does not behave as intended. Reverting the change to the original
behavior.
-rw-r--r--gnu/packages/emacs-xyz.scm13
1 files changed, 1 insertions, 12 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 5dc0bc9fa0..44f8c44233 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -14179,7 +14179,7 @@ arXiv, Google Scholar, Library of Congress, etc.
 
 (define-public emacs-erc-image
   (let ((commit "82fb3871f02e24b1e880770b9a3d187aab43d0f0")
-        (revision "2"))
+        (revision "1"))
     (package
       (name "emacs-erc-image")
       (version (git-version "0" revision commit))
@@ -14194,17 +14194,6 @@ arXiv, Google Scholar, Library of Congress, etc.
           (base32
            "1q8mkf612fb4fjp8h4kbr107wn083iqfdgv8f80pcmil8y33dw9i"))))
       (build-system emacs-build-system)
-      (arguments
-       `(#:phases (modify-phases %standard-phases
-                    ;; NOTE: The autoloader for Guix will fail
-                    ;; because this package asserts an incorrect
-                    ;; `eval-after-load'.
-                    (add-after 'unpack 'patch-autoload-generation
-                      (lambda _
-                        (substitute* "erc-image.el"
-                          (("eval-after-load 'erc")
-                           "eval-after-load 'erc-auto"))
-                        #t)))))
       (home-page "https://github.com/kidd/erc-image.el")
       (synopsis "Show inlined images (png/jpg/gif/svg) in ERC buffers")
       (description "This plugin subscribes to hooks @code{erc-insert-modify-hook}