[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What are the criteria for making a minor mode ?
From: |
Rudolf Adamkovič |
Subject: |
Re: What are the criteria for making a minor mode ? |
Date: |
Thu, 29 Aug 2024 12:50:40 +0200 |
Heime <heimeborgia@protonmail.com> writes:
> Stefan has pointed out to me that just loading a file should not be made
> to alter Emacs's behavior in any significant way.
That is correct. If you need to do more, such as create a window or
create a file, you should encapsulate that within a function. That
function can also be a command that enables a mode, of course.
Rudy
--
"'Obvious' is all too often a synonym for 'wrong'."
--- Jeff Erickson, Algorithms, 2019
Rudolf Adamkovič <rudolf@adamkovic.org> [he/him]
http://adamkovic.org