[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#48331: [PATCH] guix: build: emacs-build-system: Make package.el awar
From: |
Ivan Sokolov |
Subject: |
bug#48331: [PATCH] guix: build: emacs-build-system: Make package.el aware of guix packages |
Date: |
Wed, 26 May 2021 11:15:03 +0300 |
> After updating the package-directory-list variable, functions like
> list-packages, describe-package become aware of packages installed by
> guix.
> ---
> This code is getting work done, but I'm not a very experienced elisp
> developer, so please review it thoroughly.
> +
> +(require 'package)
> +
> +;; Set `package-directory-list' to the value without elpa/ suffix
> +;; to match the structure of site-lisp directory of guix's emacs
> +;; build system.
> +;;;###autoload
> +(setq package-directory-list
> + (list (string-remove-suffix "/elpa" (car package-directory-list))))
> +
> (provide 'guix-emacs)
For future reference, this approach is absolutely unacceptable, no
package should modify customizable variables unless explicitly requested
by the user.
bug#48331: Emacs' describe-package doesn't work for packages managed by guix, Ludovic Courtès, 2021/05/11
bug#48331: [PATCH 1/2] build-system: emacs: Keep -pkg.el files., Leo Prikler, 2021/05/22
bug#48331: [PATCH] guix: build: emacs-build-system: Make package.el aware of guix packages,
Ivan Sokolov <=