mirror of
https://github.com/emacscollective/emacs.g.git
synced 2025-04-22 02:42:29 -04:00
Emacsg: Clean up early load-path additions
`auto-compile' no longer depends on `packed' and `compat'.
This commit is contained in:
parent
02bb4bea5a
commit
fdca5af9b0
@ -2,10 +2,10 @@
|
||||
|
||||
(setq load-prefer-newer t)
|
||||
|
||||
(let ((dir (file-name-directory (or load-file-name buffer-file-name))))
|
||||
(add-to-list 'load-path (expand-file-name "lib/compat" dir))
|
||||
(add-to-list 'load-path (expand-file-name "lib/packed" dir))
|
||||
(add-to-list 'load-path (expand-file-name "lib/auto-compile" dir)))
|
||||
(add-to-list 'load-path
|
||||
(expand-file-name
|
||||
"lib/auto-compile"
|
||||
(file-name-directory (or load-file-name buffer-file-name))))
|
||||
(require 'auto-compile)
|
||||
(auto-compile-on-load-mode)
|
||||
(auto-compile-on-save-mode)
|
||||
|
Loading…
x
Reference in New Issue
Block a user