aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell
diff options
context:
space:
mode:
authorDan Nicolaescu2007-10-21 07:33:32 +0000
committerDan Nicolaescu2007-10-21 07:33:32 +0000
commit2f42c75fb05cd3c481dc191436e6f1b28669338a (patch)
tree15c1eaeaf0eb47a1ee5175d1cbe79728102e0116 /lisp/eshell
parent3b0664df0333a6a53677afa99495852cf81646fd (diff)
downloademacs-2f42c75fb05cd3c481dc191436e6f1b28669338a.tar.gz
emacs-2f42c75fb05cd3c481dc191436e6f1b28669338a.zip
* progmodes/gud.el (gud-target-name): Move definition before use.
* progmodes/dcl-mode.el: Require imenu at compile time. * progmodes/cc-engine.el (c-maybe-stale-found-type): Pacify byte-compiler. * obsolete/fast-lock.el: Use featurep test instead of string-match. * eshell/esh-mode.el (eshell-handle-ansi-color): Require ansi-color at compile time too. * eshell/em-unix.el (eshell/info): Require info at compile time too. * w32-fns.el: Require w32-vars. * diff-mode.el (diff-refine-hunk): Require smerge-mode at compile time too.
Diffstat (limited to 'lisp/eshell')
-rw-r--r--lisp/eshell/em-unix.el2
-rw-r--r--lisp/eshell/esh-mode.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/lisp/eshell/em-unix.el b/lisp/eshell/em-unix.el
index aaad664918f..850d51dcac5 100644
--- a/lisp/eshell/em-unix.el
+++ b/lisp/eshell/em-unix.el
@@ -175,7 +175,7 @@ Otherwise, Emacs will attempt to use rsh to invoke du on the remote machine."
175 'info arg1' => OTHERWISE goes to top info window and then menu item arg1 175 'info arg1' => OTHERWISE goes to top info window and then menu item arg1
176 'info arg1 arg2' => does action for arg1 (either visit-file or menu-item) and then menu item arg2 176 'info arg1 arg2' => does action for arg1 (either visit-file or menu-item) and then menu item arg2
177 etc." 177 etc."
178 (require 'info) 178 (eval-and-compile (require 'info))
179 (let ((file (cond 179 (let ((file (cond
180 ((not (stringp (car args))) 180 ((not (stringp (car args)))
181 nil) 181 nil)
diff --git a/lisp/eshell/esh-mode.el b/lisp/eshell/esh-mode.el
index fd3cfb93996..b8f88981b04 100644
--- a/lisp/eshell/esh-mode.el
+++ b/lisp/eshell/esh-mode.el
@@ -1078,7 +1078,7 @@ This function could be in the list `eshell-output-filter-functions'."
1078 1078
1079(defun eshell-handle-ansi-color () 1079(defun eshell-handle-ansi-color ()
1080 "Handle ANSI color codes." 1080 "Handle ANSI color codes."
1081 (require 'ansi-color) 1081 (eval-and-compile (require 'ansi-color))
1082 (ansi-color-apply-on-region eshell-last-output-start 1082 (ansi-color-apply-on-region eshell-last-output-start
1083 eshell-last-output-end)) 1083 eshell-last-output-end))
1084 1084