summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-04-20 17:44:23 -0400
committerGlenn Morris <rgm@gnu.org>2015-04-20 17:44:23 -0400
commit2fc11b3fa3418e0e8a624376ea8bf4cbc70c2657 (patch)
tree1289773a9d0b719a87a7abd4bbd4b97891434992
parentb3ff665b2abc18fafec9c2bedbccf8f2d94f3242 (diff)
downloademacs-2fc11b3fa3418e0e8a624376ea8bf4cbc70c2657.tar.gz
* 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 @@
(expand-file-name "textmodes" dir)
(expand-file-name "vc" dir)))))
+(setq exec-path nil)
+
(if (eq t purify-flag)
;; Hash consing saved around 11% of pure space in my tests.
(setq purify-flag (make-hash-table :test 'equal :size 70000)))