X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/956c645f79b3525040b917a22a1919beebc8c36b..b1a598dcf29dc311aacc9b13e9a0dc3ee0916341:/el/dot-emacs.el diff --git a/el/dot-emacs.el b/el/dot-emacs.el index 8aff2b9..c24d9ec 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -3513,9 +3513,7 @@ that character only to be normal punctuation.") (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) ;;;--------------------------------------------------------------------------