branch: elpa/projectile
commit d414b653707a7ca9c8274ab565eac63f1f319e4b
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>
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))))