diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-04-20 17:44:23 -0400 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2015-04-20 17:44:23 -0400 |
commit | 2fc11b3fa3418e0e8a624376ea8bf4cbc70c2657 (patch) | |
tree | 1289773a9d0b719a87a7abd4bbd4b97891434992 | |
parent | b3ff665b2abc18fafec9c2bedbccf8f2d94f3242 (diff) | |
download | emacs-2fc11b3fa3418e0e8a624376ea8bf4cbc70c2657.tar.gz |
* lisp/loadup.el (exec-path): Avoid storing build-time PATH in binary.
Fixes: debbugs:20330
-rw-r--r-- | lisp/loadup.el | 2 |
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))) |