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

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

Combine multiple cdrs into one list for hooks.


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

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?

Regards
-- 
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province



reply via email to

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