summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-08-24 19:31:07 +0200
committerUlrich Müller <ulm@gentoo.org>2023-08-24 19:31:07 +0200
commit5f4838cc7a8c431012cb5794c1a2fa1742e41fc9 (patch)
treeca61b3f4a70776674e4663a60b7800592d87797b /ChangeLog
parentPort to new advice functions (diff)
downloadebuild-mode-5f4838cc7a8c431012cb5794c1a2fa1742e41fc9.tar.gz
ebuild-mode-5f4838cc7a8c431012cb5794c1a2fa1742e41fc9.tar.bz2
ebuild-mode-5f4838cc7a8c431012cb5794c1a2fa1742e41fc9.zip
Update sh-must-be-shell-mode fix
* 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. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
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.