diff lisp/eshell/em-ls.el @ 37326:19d97e9f6689

(eshell-ls-insert-directory): Set font-lock-defaults to nil, to prevent fontification in dired buffers, if Eshell's ls is being used.
author John Wiegley <johnw@newartisans.com>
date Wed, 11 Apr 2001 21:51:53 +0000
parents 96d933eb13f4
children 6d7c89c79996
line wrap: on
line diff
--- a/lisp/eshell/em-ls.el	Wed Apr 11 15:51:19 2001 +0000
+++ b/lisp/eshell/em-ls.el	Wed Apr 11 21:51:53 2001 +0000
@@ -255,6 +255,7 @@
 	(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)