aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Wiegley2001-04-11 21:53:10 +0000
committerJohn Wiegley2001-04-11 21:53:10 +0000
commit6c9e58c4ec15e1b734dc18a05c72d9155ccf45d5 (patch)
tree2cf565068ad24640bbe28ee71d6a85ac97db0d07
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.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/eshell/em-ls.el1
2 files changed, 7 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2e217312a7b..a85a874f130 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12001-04-11 John Wiegley <johnw@gnu.org>
2
3 * eshell/em-ls.el (eshell-ls-insert-directory): Set
4 font-lock-defaults to nil, to prevent fontification in dired
5 buffers, if Eshell's ls is being used.
6
12001-04-10 John Wiegley <johnw@gnu.org> 72001-04-10 John Wiegley <johnw@gnu.org>
2 8
3 * calendar/timeclock.el (timeclock-completing-read): new function. 9 * 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."
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)