summaryrefslogtreecommitdiff
path: root/lisp/eshell/em-ls.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2001-04-11 21:51:53 +0000
committerJohn Wiegley <johnw@newartisans.com>2001-04-11 21:51:53 +0000
commitad93c86db6f81ab73ffca4b3b340348f75e864ef (patch)
tree81edf6849fe683b9835199fe0a4b66dbe7a66bc7 /lisp/eshell/em-ls.el
parent9d4fa86378b628cd7ae24402e5ae756a4d960201 (diff)
downloademacs-ad93c86db6f81ab73ffca4b3b340348f75e864ef.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)