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

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

[elpa] externals/marginalia db12d80307: marginalia--cache-reset: Ignore


From: ELPA Syncer
Subject: [elpa] externals/marginalia db12d80307: marginalia--cache-reset: Ignore arguments
Date: Wed, 14 Sep 2022 05:58:03 -0400 (EDT)

branch: externals/marginalia
commit db12d80307ea9d6de44b59d18533c9cbf0c51724
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    marginalia--cache-reset: Ignore arguments
    
    The function can be used more flexibly as hook function.
    See https://github.com/oantolin/embark/issues/540.
---
 marginalia.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/marginalia.el b/marginalia.el
index cdfa7ce1a7..a3d48c7f49 100644
--- a/marginalia.el
+++ b/marginalia.el
@@ -1092,7 +1092,7 @@ looking for a regexp that matches the prompt."
              when (string-match-p regexp prompt)
              return category)))
 
-(defun marginalia--cache-reset ()
+(defun marginalia--cache-reset (&rest _)
   "Reset the cache."
   (setq marginalia--cache (and marginalia--cache (> marginalia--cache-size 0)
                                (cons nil (make-hash-table :test #'equal



reply via email to

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