[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ELPA
From: |
Emanuel Berg |
Subject: |
Re: ELPA |
Date: |
Tue, 12 Jan 2021 22:57:44 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> I think there should be a way to recursively add a directory
> to the load path, so all the subdirs would be added as well,
> but without doing anything else, after that one could
> compile, require, load, etc, without restrictions.
Like this maybe?
(require 'cl-lib)
(defun push-all (base)
(let ((dirs (cl-remove-if-not
(lambda (f) (file-accessible-directory-p f))
(directory-files-recursively base "" t))))
(setf load-path (nconc dirs load-path) )))
--
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal
- Re: ELPA, (continued)
- Re: ELPA, Stefan Monnier, 2021/01/05
- Re: ELPA, Emanuel Berg, 2021/01/05
- Re: ELPA, Emanuel Berg, 2021/01/12
- Re: ELPA, Stefan Monnier, 2021/01/12
- Re: ELPA, Emanuel Berg, 2021/01/12
- Re: ELPA, Stefan Monnier, 2021/01/13
- Re: ELPA, Stefan Monnier, 2021/01/12
- Re: ELPA, Emanuel Berg, 2021/01/12
- Re: ELPA, Stefan Monnier, 2021/01/12
- Re: ELPA, Emanuel Berg, 2021/01/12
- Re: ELPA,
Emanuel Berg <=
- Re: ELPA (was: Re: How-to disable persistent *EBDB-Message* buffer?), Emanuel Berg, 2021/01/12