aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell
diff options
context:
space:
mode:
authorJohn Wiegley2001-04-11 21:53:10 +0000
committerJohn Wiegley2001-04-11 21:53:10 +0000
commit6c9e58c4ec15e1b734dc18a05c72d9155ccf45d5 (patch)
tree2cf565068ad24640bbe28ee71d6a85ac97db0d07 /lisp/eshell
parent978bd3eafc3d2944556e83abe9818ebdfcb04a02 (diff)
downloademacs-6c9e58c4ec15e1b734dc18a05c72d9155ccf45d5.tar.gz
emacs-6c9e58c4ec15e1b734dc18a05c72d9155ccf45d5.zip
(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')
-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."
255 (when (and eshell-ls-use-colors 255 (when (and eshell-ls-use-colors
256 (featurep 'font-lock)) 256 (featurep 'font-lock))
257 (font-lock-mode -1) 257 (font-lock-mode -1)
258 (setq font-lock-defaults nil)
258 (if (boundp 'font-lock-buffers) 259 (if (boundp 'font-lock-buffers)
259 (set 'font-lock-buffers 260 (set 'font-lock-buffers
260 (delq (current-buffer) 261 (delq (current-buffer)