[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#45448: Emacs can't load org mode after last update
From: |
Nicolas Goaziou |
Subject: |
bug#45448: Emacs can't load org mode after last update |
Date: |
Mon, 28 Dec 2020 16:04:42 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hello,
Pierre Langlois <pierre.langlois@gmx.com> writes:
> In the meantime, we can either revert the update or just fix it
> downstream temporarily. The following patch works for me for example:
>
> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
> index eaa0fc8d2a..e65666a6ac 100644
> --- a/gnu/packages/emacs-xyz.scm
> +++ b/gnu/packages/emacs-xyz.scm
> @@ -10296,6 +10296,11 @@ passive voice.")
> (arguments
> `(#:phases
> (modify-phases %standard-phases
> + (add-after 'unpack 'fix-org-version
> + (lambda _
> + (substitute* "org-version.el"
> + (("org-release \"\"") (string-append "org-release \""
> ,version "\"")))
> + #t))
> (add-after 'install 'install-documentation
> (lambda* (#:key outputs #:allow-other-keys)
> (let* ((share (string-append (assoc-ref outputs "out")
> "/share"))
>
> I'm more tempted to add this little fix rather than revert the update,
> given we'd also have to revert org-contrib.
Indeed. LGTM. Thank you!
Regards,
--
Nicolas Goaziou