From: Ludovic Courtès Date: Mon, 20 Apr 2015 21:44:23 +0000 (-0400) Subject: * lisp/loadup.el (exec-path): Avoid storing build-time PATH in binary. X-Git-Tag: emacs-25.0.90~2351 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2fc11b3fa3418e0e8a624376ea8bf4cbc70c2657;p=emacs.git * lisp/loadup.el (exec-path): Avoid storing build-time PATH in binary. Fixes: debbugs:20330 --- 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)))