summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4b4ba8e..c154834 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2023-08-24 Ulrich Müller <ulm@gentoo.org>
+ * ebuild-mode.el (ebuild-mode): Refer to sh-mode directly,
+ instead of shell-script-mode which is its alias.
+ (sh-must-be-shell-mode): Test for its existence, rather than
+ testing emacs-major-version. Simply redefine the function,
+ in order to avoid obsolete defadvice and non-portable advice-add.
+ This fixes a byte-compile warning in Emacs 30 while keeping
+ compatibility with XEmacs.
+
* glep-mode.el (rst-classify-adornment, glep-ignore-preamble):
Port from defadvice to advice-add.