Browse Source
Replace usages of eval-after-load with with-eval-after-load
Replace usages of eval-after-load with with-eval-after-load
`with-eval-after-load` was introduced in Emacs 24.4 and its usage results in a cleaner code. `eval-after-load` is considered ill-behaved because it is a function, not a macro, and thus requires the code inside it to be quoted, which means that it cannot be byte-compiled. It also accepts only one form, so if you have more than one, you need to use `progn`. More details - https://stackoverflow.com/questions/21880139/what-is-with-eval-after-load-in-emacs-lispcustom
15 changed files with 155 additions and 170 deletions
-
6init.el
-
34modules/prelude-clojure.el
-
39modules/prelude-coffee.el
-
15modules/prelude-common-lisp.el
-
19modules/prelude-css.el
-
21modules/prelude-emacs-lisp.el
-
5modules/prelude-erlang.el
-
53modules/prelude-go.el
-
23modules/prelude-haskell.el
-
17modules/prelude-js.el
-
7modules/prelude-latex.el
-
17modules/prelude-ruby.el
-
27modules/prelude-rust.el
-
31modules/prelude-ts.el
-
11modules/prelude-web.el
Write
Preview
Loading…
Cancel
Save
Reference in new issue