|
From: | Emanuel Berg |
Subject: | Re: Merge multiple hooks into one directive. |
Date: | Tue, 06 Jul 2021 02:04:58 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Hongyi Zhao wrote: > Consider the multiple hooks as follows: > > (add-hook 'A-hook 'foo) > (add-hook 'B-hook #'bar) > (add-hook 'C-hook (baz)) > ... > > If I want to merge them into one directive. What's the > preferable way? Try this: (setq my-directive (list A-hook B-hook C-hook)) -- underground experts united https://dataswamp.org/~incal
[Prev in Thread] | Current Thread | [Next in Thread] |