unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Defining minor mode with minor-mode condition
@ 2021-05-04  3:52 Christopher Dimech
  2021-05-04  4:12 ` Emanuel Berg via Users list for the GNU Emacs text editor
  2021-05-04  7:01 ` Joost Kremers
  0 siblings, 2 replies; 7+ messages in thread
From: Christopher Dimech @ 2021-05-04  3:52 UTC (permalink / raw)
  To: Help Gnu Emacs

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




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-05-04 13:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-04  3:52 Defining minor mode with minor-mode condition Christopher Dimech
2021-05-04  4:12 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-04  7:01 ` Joost Kremers
2021-05-04  7:20   ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-04 12:52   ` Stefan Monnier
2021-05-04 13:01     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-04 13:03     ` Christopher Dimech

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).