punassuming / ranger.el

Bringing the goodness of ranger to dired!
699 stars 52 forks source link

Bytecomp errors with wdired #173

Open miscoined opened 6 years ago

miscoined commented 6 years ago

First off, just want to say that this is an awesome package and it's let me basically use Emacs as my file manager, which I love.

I have however been getting some odd byte compilation errors. A minimal config to reproduce:

(require 'package)
(setq package-enable-at-startup nil)
(package-initialize)
(require 'ranger)
(require 'wdired)

This gives the following warnings on startup

Warning (bytecomp): assignment to free variable ‘ranger-was-ranger’
Warning (bytecomp): reference to free variable ‘ranger-was-ranger’ [4 times]

This doesn't happen if you don't require wdired.

I can't seem to find a way to suppress these warnings. Any advice?