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

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

[nongnu] elpa/meow 2c7f69b082: Use 0 as the default value for meow-expan


From: ELPA Syncer
Subject: [nongnu] elpa/meow 2c7f69b082: Use 0 as the default value for meow-expand-hint-counts
Date: Sat, 2 Nov 2024 10:00:43 -0400 (EDT)

branch: elpa/meow
commit 2c7f69b082e48056af6df72779cc0a853a4c508e
Author: DogLooksGood <doglooksgood@hotmail.com>
Commit: DogLooksGood <doglooksgood@hotmail.com>

    Use 0 as the default value for meow-expand-hint-counts
---
 meow-visual.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meow-visual.el b/meow-visual.el
index ee1ce106d2..a1d07af6da 100644
--- a/meow-visual.el
+++ b/meow-visual.el
@@ -202,7 +202,9 @@ Value is a list of (last-regexp last-pos idx cnt).")
     (setq meow--expand-nav-function (or nav-functions 
meow--expand-nav-function))
     (when (and (not (member major-mode meow-expand-exclude-mode-list))
                meow--expand-nav-function)
-      (let ((num (alist-get (cdr (meow--selection-type)) 
meow-expand-hint-counts)))
+      (let ((num (or
+                  (alist-get (cdr (meow--selection-type)) 
meow-expand-hint-counts)
+                  0)))
         (meow--highlight-num-positions num)))))
 
 (provide 'meow-visual)



reply via email to

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