emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/anzu 368a4ebe8c 096/288: Fix no prefix number case


From: ELPA Syncer
Subject: [nongnu] elpa/anzu 368a4ebe8c 096/288: Fix no prefix number case
Date: Thu, 6 Jan 2022 03:58:43 -0500 (EST)

branch: elpa/anzu
commit 368a4ebe8c6ae7ffd6bfd9d455faf5a9da8d1b9f
Author: Syohei YOSHIDA <syohex@gmail.com>
Commit: Syohei YOSHIDA <syohex@gmail.com>

    Fix no prefix number case
    
    Some commands are failed on Emacs 24.4 if there is no prefix
---
 anzu.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/anzu.el b/anzu.el
index 03d4b262a8..790a3e5da7 100644
--- a/anzu.el
+++ b/anzu.el
@@ -499,7 +499,7 @@
   ;; This variable is introduced at Emacs 24.4, I should fix this variable to
   ;; version variable
   (and (boundp 'list-matching-lines-prefix-face)
-       (< prefix 0)))
+       (and prefix (< prefix 0))))
 
 (defun anzu--construct-perform-replace-arguments (from to delimited beg end 
backward)
   (if backward



reply via email to

[Prev in Thread] Current Thread [Next in Thread]