aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLudovic Courtès2015-04-20 17:44:23 -0400
committerGlenn Morris2015-04-20 17:44:23 -0400
commit2fc11b3fa3418e0e8a624376ea8bf4cbc70c2657 (patch)
tree1289773a9d0b719a87a7abd4bbd4b97891434992
parentb3ff665b2abc18fafec9c2bedbccf8f2d94f3242 (diff)
downloademacs-2fc11b3fa3418e0e8a624376ea8bf4cbc70c2657.tar.gz
emacs-2fc11b3fa3418e0e8a624376ea8bf4cbc70c2657.zip
* lisp/loadup.el (exec-path): Avoid storing build-time PATH in binary.
Fixes: debbugs:20330
-rw-r--r--lisp/loadup.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/loadup.el b/lisp/loadup.el
index bfec75fc2c9..d24b4bfe342 100644
--- a/lisp/loadup.el
+++ b/lisp/loadup.el
@@ -63,6 +63,8 @@
63 (expand-file-name "textmodes" dir) 63 (expand-file-name "textmodes" dir)
64 (expand-file-name "vc" dir))))) 64 (expand-file-name "vc" dir)))))
65 65
66(setq exec-path nil)
67
66(if (eq t purify-flag) 68(if (eq t purify-flag)
67 ;; Hash consing saved around 11% of pure space in my tests. 69 ;; Hash consing saved around 11% of pure space in my tests.
68 (setq purify-flag (make-hash-table :test 'equal :size 70000))) 70 (setq purify-flag (make-hash-table :test 'equal :size 70000)))