branch: externals/cape
commit 4506ee82129a8e9ff9e4650a9b16eb8c4ae355f3
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    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 8110fdbab8..bd9984dd6e 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)

Reply via email to