From afb801adf7e066418c01c3fdecebe045918952ff Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Sat, 16 Sep 2023 19:53:11 +0200 Subject: Revert to defadvice for sh-must-be-shell-mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ebuild-mode.el (sh-must-be-shell-mode): Test if the function is defined at compile time. This should only be the case for Emacs versions where defadvice is unobsolete. Signed-off-by: Ulrich Müller --- ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 0052228..68a5be8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2023-09-16 Ulrich Müller + * ebuild-mode.el (sh-must-be-shell-mode): Test if the function is + defined at compile time. This should only be the case for Emacs + versions where defadvice is unobsolete. + * glep-mode.el (rst-classify-adornment) (glep-mode-ignore-preamble): Use :before-while instead of :around as advice combinator. -- cgit v1.2.3-65-gdbad