I went over my configuration files and wanted to do some cleanup.
My understanding of
with-eval-after-load was that its body would be evaluated right after the related package is loaded. While cleaning up my configurations files and splitting them even more, I wanted to enclose every package configuration with
with-eval-after-load. Everything went as expected until I enclosed the configuration for
Here is what I had in mind (lisp/init-helm.el):
(with-eval-after-load 'helm (setq helm-mode-line-string "") (add-to-list 'helm-sources-using-default-as-input 'helm-source-man-pages) (define-key global-map (kbd "C-c m") 'helm-imenu) (define-key global-map (kbd "C-x b") 'helm-buffers-list)) (with-eval-after-load 'helm-command (global-set-key (kbd "M-x") 'helm-M-x)) (with-eval-after-load 'helm-projectile (helm-projectile-on))
After restarting Emacs, I get this window size issue:
This is how I resize my window:
(set-frame-parameter nil 'fullscreen 'fullboth)
I'm guessing I am misusing
with-eval-after-load, how would one sanitize his Emacs configuration and make sure nothing breaks no matter what package are installed ?