[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [External] : Hook on other minor modes
From: |
uzibalqa |
Subject: |
RE: [External] : Hook on other minor modes |
Date: |
Mon, 26 Jun 2023 19:42:41 +0000 |
------- Original Message -------
On Tuesday, June 27th, 2023 at 7:28 AM, Drew Adams <drew.adams@oracle.com>
wrote:
> > What does the following do ?
> >
> > (add-hook 'outline-minor-mode-hook 'tika-minor-mode nil t)
> >
> > Does it enable tika-minor-mode when outline-minor-mode gets activated
>
>
> It enables minor mode `tika-minor-mode' when minor mode` outline-minor-mode'
> is enabled AND when `outline-minor-mode' is disabled. See` C-h f
> define-minor-mode':
It does not seem of much good use then to do such a thing.
> When called from Lisp, the mode command toggles the mode if the
> argument is `toggle', disables the mode if the argument is a
> non-positive integer, and enables the mode otherwise (including
> if the argument is omitted or nil or a positive integer).
- Hook on other minor modes, uzibalqa, 2023/06/26
- RE: [External] : Hook on other minor modes, Drew Adams, 2023/06/26
- RE: [External] : Hook on other minor modes,
uzibalqa <=
- RE: [External] : Hook on other minor modes, Drew Adams, 2023/06/26
- RE: [External] : Hook on other minor modes, uzibalqa, 2023/06/26
- RE: [External] : Hook on other minor modes, Drew Adams, 2023/06/26
- RE: [External] : Hook on other minor modes, uzibalqa, 2023/06/27
- RE: [External] : Hook on other minor modes, Drew Adams, 2023/06/27