help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Combine multiple cdrs into one list for hooks.


From: Hongyi Zhao
Subject: Re: Combine multiple cdrs into one list for hooks.
Date: Mon, 27 Sep 2021 17:18:31 +0800

On Mon, Sep 27, 2021 at 5:14 PM Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
>
> I currently install and configure python-mode with use-package as follows:
>
> (use-package python-mode
>   :hook
>   (python-mode . pyvenv-mode)
>   (python-mode . try/pyvenv-workon)
>   (python-mode . flycheck-mode)
>   (python-mode . company-mode)
>   (python-mode . yas-minor-mode))
>
> I want to simplify the above multiple hook cons directives by
> combination the multiple cdrs into one list. Are there any tips for
> achieving this goal?

I've done some tries, as discussed here [1], but failed to do the trick.

[1] https://github.com/jwiegley/use-package/issues/954

Best, HZ



reply via email to

[Prev in Thread] Current Thread [Next in Thread]