Date:2010-12-16 00:48:36 (13 years 3 months ago)
Author:David Kühling
Commit:5c645d10e151cee55b0b4a2ef252d39cca67863d
Message:updated Emacs loadup.el

Files: emacs/patches/001-tune-loadup.patch (2 diffs)

Change Details

emacs/patches/001-tune-loadup.patch
11Index: emacs23.2-openwrt/lisp/loadup.el
22===================================================================
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 @@
55
66 ;;; Code:
77
...... 
1010+;; have been witnessed.
1111+(setq inhibit-load-charset-map t)
1212+
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)
1516+
1617 ;; Add subdirectories to the load-path for files that might get
1718 ;; autoloaded when bootstrapping.
1819 (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.

Archive Download the corresponding diff file



interactive