[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Defining minor mode with minor-mode condition
From: |
Christopher Dimech |
Subject: |
Defining minor mode with minor-mode condition |
Date: |
Tue, 4 May 2021 05:52:35 +0200 |
Is it valid to define a minor mode "crucibulum-minor-mode" and then
have a "when" condition using crucibulum-minor-mode inside of it?
Regards
Christopher
;;;###autoload
(define-minor-mode crucibulum-minor-mode
"Minor mode for assisting with superior & inferior typeface."
:init-value nil
:global nil
:lighter " Crucibulum"
(when crucibulum-minor-mode
(enable-texcom-typeface)
(enable-ricci-notation)) )
---------------------
Christopher Dimech
General Administrator - Naiad Informatics - GNU Project (Geocomputation)
- Geophysical Simulation
- Geological Subsurface Mapping
- Disaster Preparedness and Mitigation
- Natural Resource Exploration and Production
- Free Software Advocacy
- Defining minor mode with minor-mode condition,
Christopher Dimech <=