]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/loadup.el (exec-path): Avoid storing build-time PATH in binary.
authorLudovic Courtès <ludo@gnu.org>
Mon, 20 Apr 2015 21:44:23 +0000 (17:44 -0400)
committerGlenn Morris <rgm@gnu.org>
Mon, 20 Apr 2015 21:44:23 +0000 (17:44 -0400)
Fixes: debbugs:20330
lisp/loadup.el

index bfec75fc2c9c8043141f47837b7f6058b63eec4e..d24b4bfe342a47f3feb4ffa4a61d85ff34bcb846 100644 (file)
@@ -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)))