Closed nawordar closed 4 years ago
When starting emacs a *Compile-Log* buffer appears with the following message:
Warning (bytecomp): reference to free variable ‘ergoemacs-modify-transient-maps’ Warning (bytecomp): assignment to free variable ‘ergoemacs-modify-transient-maps’
I've tried putting (defvar ergoemacs-modify-transient-maps) but it didn't help. My ergomacs config fragment:
(defvar ergoemacs-modify-transient-maps)
(defvar ergoemacs-modify-transient-maps) (setq ergoemacs-theme nil) (setq ergoemacs-keyboard-layout "us") (require 'ergoemacs-mode) (ergoemacs-mode 1)
The full file is here
Emacs version: 26.3 Ergoemacs version: 20190527.348 from Melpa
My problem was that I did not know that (require 'package) is not needed when installing using M-x list-packages. All I needed was to remove this line and everything works fine now.
(require 'package)
list-packages
When starting emacs a *Compile-Log* buffer appears with the following message:
I've tried putting
(defvar ergoemacs-modify-transient-maps)
but it didn't help. My ergomacs config fragment:The full file is here
Emacs version: 26.3 Ergoemacs version: 20190527.348 from Melpa