Change Details
emacs/patches/001-tune-loadup.patch |
1 | 1 | Index: emacs23.2-openwrt/lisp/loadup.el |
2 | 2 | =================================================================== |
3 | | +++ emacs23.2-openwrt/lisp/loadup.el (working copy) |
4 | | @@ -47,6 +47,13 @@ |
| 3 | --- emacs23.2-openwrt/lisp/loadup.el (.../emacs-openwrt/lisp) (revision 357) |
| 4 | @@ -47,6 +47,14 @@ |
5 | 5 | |
6 | 6 | ;;; Code: |
7 | 7 | |
... | ... | |
10 | 10 | +;; have been witnessed. |
11 | 11 | +(setq inhibit-load-charset-map t) |
12 | 12 | + |
13 | | +;; Not sure whether required. Playing safe. |
14 | | +(setq purify-flag nil) |
| 13 | +;; Purify does in fact _safe_ memory (more efficient than normal' heap?) so |
| 14 | +;; do not disable it for now. |
| 15 | +;(setq purify-flag nil) |
15 | 16 | + |
16 | 17 | ;; Add subdirectories to the load-path for files that might get |
17 | 18 | ;; autoloaded when bootstrapping. |
18 | 19 | (if (or (equal (nth 3 command-line-args) "bootstrap") |
19 | | @@ -326,9 +333,13 @@ |
20 | | ;; We don't use this fns-*.el file. Instead we keep the data in PURE space. |
21 | | ;; Make sure that the spine of the list is not in pure space because it can |
22 | | ;; be destructively mutated in lread.c:build_load_history. |
23 | | -(setq load-history (mapcar 'purecopy load-history)) |
24 | | -(setq symbol-file-load-history-loaded t) |
25 | | |
26 | | +;; The code below makes no sense with a CANNOT_DUMP emacs build. Commented |
27 | | +;; out. |
28 | | + |
29 | | +;; (setq load-history (mapcar 'purecopy load-history)) |
30 | | +;; (setq symbol-file-load-history-loaded t) |
31 | | + |
32 | | (set-buffer-modified-p nil) |
33 | | |
34 | | ;; reset the load-path. See lread.c:init_lread why. |
Download the corresponding diff file