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

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

[nongnu] elpa/projectile d414b65370 1/7: Try to appease the byte-compile


From: ELPA Syncer
Subject: [nongnu] elpa/projectile d414b65370 1/7: Try to appease the byte-compiler
Date: Sat, 10 Feb 2024 13:01:34 -0500 (EST)

branch: elpa/projectile
commit d414b653707a7ca9c8274ab565eac63f1f319e4b
Author: Bozhidar Batsov <bozhidar@batsov.dev>
Commit: Bozhidar Batsov <bozhidar@batsov.dev>

    Try to appease the byte-compiler
---
 projectile.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/projectile.el b/projectile.el
index 2f19b19616..d422632a4a 100644
--- a/projectile.el
+++ b/projectile.el
@@ -5873,7 +5873,7 @@ If PROJECT-PATH is a project, check this one instead."
     (save-excursion
       (vc-dir project-path)
       ;; wait until vc-dir is done
-      (while (vc-dir-busy) (sleep-for 0 100))
+      (while (vc-dir-busy) (sleep-for 0.1))
       ;; check for status
       (save-excursion
         (save-match-data
@@ -6290,9 +6290,10 @@ Otherwise behave as if called interactively.
 
 ;;; savehist-mode - When `savehist-mode' is t, 
projectile-project-command-history will be saved.
 ;; See https://github.com/bbatsov/projectile/issues/1637 for more details
+(defvar savehist-additional-variables nil)
+
 (if (bound-and-true-p savehist-loaded)
     (add-to-list 'savehist-additional-variables 
'projectile-project-command-history)
-  (defvar savehist-additional-variables nil)
   (add-hook 'savehist-mode-hook
             (lambda()
               (add-to-list 'savehist-additional-variables 
'projectile-project-command-history))))



reply via email to

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