chiark / gitweb /
el/dot-emacs.el: Fix bungled `LD_PRELOAD' hack removal in Eshell.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 8 Aug 2017 22:25:11 +0000 (23:25 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 8 Aug 2017 22:25:11 +0000 (23:25 +0100)
el/dot-emacs.el

index 8aff2b958ac9e97c2a7f25f9942a5d07397ebdcf..c24d9ec0e82d370bb4c544a9757bb19e88b74d0b 100644 (file)
@@ -3513,9 +3513,7 @@ (mdw-define-face eshell-ls-directory (t :foreground "cyan" :weight bold))
 (mdw-define-face eshell-ls-readonly (t nil))
 (mdw-define-face eshell-ls-symlink (t :foreground "cyan"))
 
-(defun mdw-eshell-hack ()
-  (when mdw-preload-hacks
-    (setenv "LD_PRELOAD" nil)))
+(defun mdw-eshell-hack () (setenv "LD_PRELOAD" nil))
 (add-hook 'eshell-mode-hook 'mdw-eshell-hack)
 
 ;;;--------------------------------------------------------------------------