From be457fb101b9a0d7c76405bae919b065d5f11aa4 Mon Sep 17 00:00:00 2001 From: Yikai Zhao Date: Sun, 31 Mar 2024 10:40:03 +0800 Subject: [PATCH] do not use `length>` for old version of emacs --- evil-commands.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evil-commands.el b/evil-commands.el index f1efbd84..42c50f4c 100644 --- a/evil-commands.el +++ b/evil-commands.el @@ -4205,7 +4205,7 @@ Use `evil-flush-lines' if INVERT is nil, or `evil-keep-lines' if not." (eq flag 'update)) (condition-case err (let ((pattern (car (evil-ex-parse-global (or arg ""))))) - (when (length> pattern 0) + (when (> (length pattern) 0) (evil-ex-hl-change 'evil-ex-global (evil-ex-make-pattern pattern evil-ex-search-case nil)))) (user-error (evil-ex-echo (error-message-string err))))))))