From: John Wiegley Date: Wed, 11 Apr 2001 21:53:10 +0000 (+0000) Subject: (eshell-ls-insert-directory): Set font-lock-defaults to nil, to X-Git-Tag: emacs-pretest-21.0.103~227 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6c9e58c4ec15e1b734dc18a05c72d9155ccf45d5;p=emacs.git (eshell-ls-insert-directory): Set font-lock-defaults to nil, to prevent fontification in dired buffers, if Eshell's ls is being used. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2e217312a7b..a85a874f130 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2001-04-11 John Wiegley + + * eshell/em-ls.el (eshell-ls-insert-directory): Set + font-lock-defaults to nil, to prevent fontification in dired + buffers, if Eshell's ls is being used. + 2001-04-10 John Wiegley * calendar/timeclock.el (timeclock-completing-read): new function. 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)