diff options
author | 2024-06-26 20:16:43 +0200 | |
---|---|---|
committer | 2024-06-28 17:07:15 +0200 | |
commit | 8ea17f534ca7d7b8e319ed9b2c6e14f1465887ca (patch) | |
tree | 279cf38f41855e27b845541f9641d7a2385d373c | |
parent | Make fixing of whitespace in eclasses conditional (diff) | |
download | ebuild-mode-8ea17f534ca7d7b8e319ed9b2c6e14f1465887ca.tar.gz ebuild-mode-8ea17f534ca7d7b8e319ed9b2c6e14f1465887ca.tar.bz2 ebuild-mode-8ea17f534ca7d7b8e319ed9b2c6e14f1465887ca.zip |
Don't fix whitespace in eclasses by default
* ebuild-mode.el (ebuild-mode-fix-whitespace): Default to ebuild.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ebuild-mode.el | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2024-06-26 Ulrich Müller <ulm@gentoo.org> + + * ebuild-mode.el (ebuild-mode-fix-whitespace): Default to ebuild. + 2024-06-25 Ulrich Müller <ulm@gentoo.org> * ebuild-mode.el (ebuild-mode-fix-whitespace): Add new choice diff --git a/ebuild-mode.el b/ebuild-mode.el index 3821c4b..79f1747 100644 --- a/ebuild-mode.el +++ b/ebuild-mode.el @@ -74,7 +74,7 @@ The most recent EAPI must be listed last." :type '(repeat string) :group 'ebuild) -(defcustom ebuild-mode-fix-whitespace t +(defcustom ebuild-mode-fix-whitespace 'ebuild "If non-nil, fix whitespace before writing a file. Namely, delete trailing whitespace and tabify whitespace at beginning of lines. |