summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2023-09-14 11:38:05 +0200
committerDaniel Mendler <mail@daniel-mendler.de>2023-09-14 11:38:05 +0200
commit4506ee82129a8e9ff9e4650a9b16eb8c4ae355f3 (patch)
tree1b9472f53ddf80e579c91d15aea76c175403b0c0
parent9d4249527820bd009293c9724998f66f37a048c2 (diff)
cape-char--static-if: Fix naming convention
-rw-r--r--cape-char.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/cape-char.el b/cape-char.el
index 8110fdb..bd9984d 100644
--- a/cape-char.el
+++ b/cape-char.el
@@ -131,7 +131,7 @@ is nil the function acts like a Capf." method method)
,properties)))))))
;; TODO: use static-if as soon as compat-30 is released
-(defmacro cape--static-if (cond then &rest else)
+(defmacro cape-char--static-if (cond then &rest else)
"Static if COND with THEN and ELSE branch."
(if (eval cond t) then (cons 'progn else)))
@@ -145,7 +145,7 @@ is nil the function acts like a Capf." method method)
(cape-char--define rfc1345 "rfc1345" ?&)
;;;###autoload (when (> emacs-major-version 28) (autoload 'cape-emoji "cape-char" nil t))
-(cape--static-if (> emacs-major-version 28)
+(cape-char--static-if (> emacs-major-version 28)
(cape-char--define emoji "emoji" ?:))
(provide 'cape-char)