[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The cons syntax format used by use-package.
From: |
Daniel Fleischer |
Subject: |
Re: The cons syntax format used by use-package. |
Date: |
Sat, 18 Sep 2021 16:21:39 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) |
Hongyi Zhao [2021-09-18 Sat 21:15] wrote:
> (use-package ace-jump-mode
> :hook ((prog-mode text-mode) . ace-jump-mode))
>
> If I wanted to extend the above example with more hooks, which of the
> following would be correct:
The 2nd one, but why not
(use-package ace-jump-mode
:hook ((prog-mode text-mode latex-mode) . ace-jump-mode))
--
Daniel Fleischer