From 4506ee82129a8e9ff9e4650a9b16eb8c4ae355f3 Mon Sep 17 00:00:00 2001 From: Daniel Mendler Date: Thu, 14 Sep 2023 11:38:05 +0200 Subject: cape-char--static-if: Fix naming convention --- cape-char.el | 4 ++-- 1 file 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) -- cgit v1.0