summaryrefslogtreecommitdiff
path: root/lisp/eshell/em-ls.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2001-04-11 21:53:10 +0000
committerJohn Wiegley <johnw@newartisans.com>2001-04-11 21:53:10 +0000
commit6c9e58c4ec15e1b734dc18a05c72d9155ccf45d5 (patch)
tree2cf565068ad24640bbe28ee71d6a85ac97db0d07 /lisp/eshell/em-ls.el
parent978bd3eafc3d2944556e83abe9818ebdfcb04a02 (diff)
downloademacs-6c9e58c4ec15e1b734dc18a05c72d9155ccf45d5.tar.gz
(eshell-ls-insert-directory): Set font-lock-defaults to nil, to
prevent fontification in dired buffers, if Eshell's ls is being used.
Diffstat (limited to 'lisp/eshell/em-ls.el')
-rw-r--r--lisp/eshell/em-ls.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/eshell/em-ls.el b/lisp/eshell/em-ls.el
index 97a342b73ac..efafbc0d502 100644
--- a/lisp/eshell/em-ls.el
+++ b/lisp/eshell/em-ls.el
@@ -255,6 +255,7 @@ instead."
(when (and eshell-ls-use-colors
(featurep 'font-lock))
(font-lock-mode -1)
+ (setq font-lock-defaults nil)
(if (boundp 'font-lock-buffers)
(set 'font-lock-buffers
(delq (current-buffer)