summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2024-08-24 18:04:26 +0200
committerUlrich Müller <ulm@gentoo.org>2024-08-27 23:23:33 +0200
commit63810b94d0d6771c31055cbeafcfce82198d1a47 (patch)
tree89d93f9db716caf97da1f9c98b92377c7048e956
parentMake the tests work with XEmacs (diff)
downloadebuild-mode-63810b94d0d6771c31055cbeafcfce82198d1a47.tar.gz
ebuild-mode-63810b94d0d6771c31055cbeafcfce82198d1a47.tar.bz2
ebuild-mode-63810b94d0d6771c31055cbeafcfce82198d1a47.zip
Specify indentation for static-if
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--ebuild-mode.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/ebuild-mode.el b/ebuild-mode.el
index fc781ae..aa1a473 100644
--- a/ebuild-mode.el
+++ b/ebuild-mode.el
@@ -259,6 +259,7 @@ Returns non-nil if A is less than B by Gentoo keyword ordering."
(unless (fboundp 'static-if)
(defmacro static-if (cond then &rest else) ; from APEL
"Like `if', but evaluate COND at compile time."
+ (declare (indent 2))
(if (eval cond)
then
`(progn ,@else)))