[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Make minor mode available but not enable
From: |
Heime |
Subject: |
Make minor mode available but not enable |
Date: |
Sun, 07 Apr 2024 11:25:03 +0000 |
I have a gali-minor-mode which I want to make available but not activate.
The users can then activate when they wish.
In file falk-gali I add the paths. Would I need (require 'gali)
to load the gali functionality ? I do not want gali-minor-mode
to be enabled automatically but only to make the code available
for users to enable it themselves if they wish.
(defun falk-gali ()
(add-to-list 'load-path "~/bin/falk/gali")
(add-to-list 'load-path "~/bin/falk/gali/avus"))
- Make minor mode available but not enable,
Heime <=