diff options
| author | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-04-15 01:13:23 -0400 |
|---|---|---|
| committer | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-04-15 01:13:23 -0400 |
| commit | cfa7e7c0b2e0537657f7b56cdd48eeee0c51a2a1 (patch) | |
| tree | d6c339286d4ce7500029143188f397d53c40e4c9 | |
| parent | Add `straight/` to `.gitignore` (diff) | |
| download | mmosmacs-cfa7e7c0b2e0537657f7b56cdd48eeee0c51a2a1.tar.gz mmosmacs-cfa7e7c0b2e0537657f7b56cdd48eeee0c51a2a1.tar.bz2 mmosmacs-cfa7e7c0b2e0537657f7b56cdd48eeee0c51a2a1.zip | |
Don't load outdated code
If a `.el` file is newer than its corresponding `.elc`, load the `.el`.
| -rw-r--r-- | init.el | 14 |
1 files changed, 14 insertions, 0 deletions
| @@ -31,6 +31,20 @@ | |||
| 31 | (load bootstrap-file nil 'nomessage)) | 31 | (load bootstrap-file nil 'nomessage)) |
| 32 | 32 | ||
| 33 | 33 | ||
| 34 | ;; --------------------------------- | ||
| 35 | ;; Don't load outdated code | ||
| 36 | ;; ------------------------ | ||
| 37 | ;; MMOSMacs is under highly active | ||
| 38 | ;; development and undergoes | ||
| 39 | ;; freuqent changes. The newest code | ||
| 40 | ;; should always be loaded | ||
| 41 | ;; --------------------------------- | ||
| 42 | |||
| 43 | ;; if a `.el' file is newer than its corresponding `.elc', load the `.el' | ||
| 44 | (setq load-prefer-newer t) | ||
| 45 | |||
| 46 | |||
| 47 | |||
| 34 | 48 | ||
| 35 | ;; --------------------------------------------------------------------- | 49 | ;; --------------------------------------------------------------------- |
| 36 | ;;; File Management | 50 | ;;; File Management |