emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 2fc11b3 3/4: * lisp/loadup.el (exec-path): Avoid st


From: Glenn Morris
Subject: [Emacs-diffs] master 2fc11b3 3/4: * lisp/loadup.el (exec-path): Avoid storing build-time PATH in binary.
Date: Mon, 20 Apr 2015 21:45:15 +0000

branch: master
commit 2fc11b3fa3418e0e8a624376ea8bf4cbc70c2657
Author: Ludovic Courtès <address@hidden>
Commit: Glenn Morris <address@hidden>

    * lisp/loadup.el (exec-path): Avoid storing build-time PATH in binary.
    
    Fixes: debbugs:20330
---
 lisp/loadup.el |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/lisp/loadup.el b/lisp/loadup.el
index bfec75f..d24b4bf 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]