changeset 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 56555e5142a2
children 086b7dd058d9
files lisp/eshell/em-ls.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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)