diff options
author | Glenn Morris <rgm@gnu.org> | 2007-11-25 01:17:06 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2007-11-25 01:17:06 +0000 |
commit | 49433569a05aff159e270c1c1858bb65e351a3a1 (patch) | |
tree | 38b33a3e104a11f8628d228d32eb7e7a115da455 /lisp/eshell | |
parent | abf1a55b87c13424d4f80b28b8d4c75003cbbe68 (diff) | |
download | emacs-49433569a05aff159e270c1c1858bb65e351a3a1.tar.gz |
(top-level): Move provide statement to the end of the file. Use
require with NOERROR for pcomplete. Don't mess with load-path.
Diffstat (limited to 'lisp/eshell')
-rw-r--r-- | lisp/eshell/esh-maint.el | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/lisp/eshell/esh-maint.el b/lisp/eshell/esh-maint.el index 61a4ef9510d..c74ec4d25f2 100644 --- a/lisp/eshell/esh-maint.el +++ b/lisp/eshell/esh-maint.el @@ -26,8 +26,6 @@ ;;; Code: -(provide 'esh-maint) - (and (fboundp 'font-lock-add-keywords) (font-lock-add-keywords 'emacs-lisp-mode @@ -35,11 +33,7 @@ ("(eshell-deftest\\>" . font-lock-keyword-face) ("(eshell-condition-case\\>" . font-lock-keyword-face)))) -(if (file-directory-p "../pcomplete") - (add-to-list 'load-path "../pcomplete")) - -(if (locate-library "pcomplete") - (require 'pcomplete)) +(require 'pcomplete nil t) ; why? (eval-when-compile (require 'cl) @@ -142,5 +136,7 @@ ;; (delete-file "README.texi") ;; (kill-buffer "README.texi")) +(provide 'esh-maint) + ;;; arch-tag: 662089b6-78ec-48c5-b94f-d212279e8902 ;;; esh-maint.el ends here |