1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-19 08:45:19 +02:00
openwrt-packages/emacs/patches/001-tune-loadup.patch

20 lines
738 B
Diff
Raw Normal View History

Index: emacs23.2-openwrt/lisp/loadup.el
===================================================================
2010-12-16 01:48:36 +02:00
--- emacs23.2-openwrt/lisp/loadup.el (.../emacs-openwrt/lisp) (revision 357)
+++ emacs23.2-openwrt/lisp/loadup.el (.../nanonote/emacs23.2-openwrt/lisp) (working copy)
@@ -47,6 +47,14 @@
;;; Code:
+;; This reduces memory usage by a few MB. So far no negative consequences
+;; have been witnessed.
+(setq inhibit-load-charset-map t)
+
2010-12-16 01:48:36 +02:00
+;; Purify does in fact _safe_ memory (more efficient than normal' heap?) so
+;; do not disable it for now.
+;(setq purify-flag nil)
+
;; Add subdirectories to the load-path for files that might get
;; autoloaded when bootstrapping.
(if (or (equal (nth 3 command-line-args) "bootstrap")