Skip to content

Commit

Permalink
do not use length> for old version of emacs
Browse files Browse the repository at this point in the history
  • Loading branch information
blahgeek committed Mar 31, 2024
1 parent d8a207a commit be457fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evil-commands.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))))))))
Expand Down

0 comments on commit be457fb

Please sign in to comment.