Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
db04f33f
Commit
db04f33f
authored
Nov 03, 2009
by
Glenn Morris
Browse files
(ansi-color-apply-on-region): Autoload it...
(eshell-handle-ansi-color): ... Rather than requiring ansi-color.
parent
659f64e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/eshell/esh-mode.el
lisp/eshell/esh-mode.el
+2
-1
No files found.
lisp/ChangeLog
View file @
db04f33f
2009-11-03 Glenn Morris <rgm@gnu.org>
* eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
(eshell-handle-ansi-color): ... Rather than requiring ansi-color.
2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
* term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
...
...
lisp/eshell/esh-mode.el
View file @
db04f33f
...
...
@@ -1073,9 +1073,10 @@ This function could be in the list `eshell-output-filter-functions'."
(
custom-add-option
'eshell-output-filter-functions
'eshell-handle-control-codes
)
(
autoload
'ansi-color-apply-on-region
"ansi-color"
)
(
defun
eshell-handle-ansi-color
()
"Handle ANSI color codes."
(
eval-and-compile
(
require
'ansi-color
))
(
ansi-color-apply-on-region
eshell-last-output-start
eshell-last-output-end
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment