diff options
| author | Glenn Morris | 2007-11-25 01:17:06 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-11-25 01:17:06 +0000 |
| commit | 49433569a05aff159e270c1c1858bb65e351a3a1 (patch) | |
| tree | 38b33a3e104a11f8628d228d32eb7e7a115da455 | |
| parent | abf1a55b87c13424d4f80b28b8d4c75003cbbe68 (diff) | |
| download | emacs-49433569a05aff159e270c1c1858bb65e351a3a1.tar.gz emacs-49433569a05aff159e270c1c1858bb65e351a3a1.zip | |
(top-level): Move provide statement to the end of the file. Use
require with NOERROR for pcomplete. Don't mess with load-path.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/eshell/esh-maint.el | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 702e434452e..60301eae597 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2007-11-25 Glenn Morris <rgm@gnu.org> | 1 | 2007-11-25 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * eshell/esh-maint.el (top-level): Move provide statement to the | ||
| 4 | end of the file. Use require with NOERROR for pcomplete. Don't | ||
| 5 | mess with load-path. | ||
| 6 | |||
| 3 | * eshell/eshell.el (eshell-report-bug-address): Remove. | 7 | * eshell/eshell.el (eshell-report-bug-address): Remove. |
| 4 | (eshell-report-bug): Redefine as an alias for report-emacs-bug. | 8 | (eshell-report-bug): Redefine as an alias for report-emacs-bug. |
| 5 | 9 | ||
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 @@ | |||
| 26 | 26 | ||
| 27 | ;;; Code: | 27 | ;;; Code: |
| 28 | 28 | ||
| 29 | (provide 'esh-maint) | ||
| 30 | |||
| 31 | (and (fboundp 'font-lock-add-keywords) | 29 | (and (fboundp 'font-lock-add-keywords) |
| 32 | (font-lock-add-keywords | 30 | (font-lock-add-keywords |
| 33 | 'emacs-lisp-mode | 31 | 'emacs-lisp-mode |
| @@ -35,11 +33,7 @@ | |||
| 35 | ("(eshell-deftest\\>" . font-lock-keyword-face) | 33 | ("(eshell-deftest\\>" . font-lock-keyword-face) |
| 36 | ("(eshell-condition-case\\>" . font-lock-keyword-face)))) | 34 | ("(eshell-condition-case\\>" . font-lock-keyword-face)))) |
| 37 | 35 | ||
| 38 | (if (file-directory-p "../pcomplete") | 36 | (require 'pcomplete nil t) ; why? |
| 39 | (add-to-list 'load-path "../pcomplete")) | ||
| 40 | |||
| 41 | (if (locate-library "pcomplete") | ||
| 42 | (require 'pcomplete)) | ||
| 43 | 37 | ||
| 44 | (eval-when-compile | 38 | (eval-when-compile |
| 45 | (require 'cl) | 39 | (require 'cl) |
| @@ -142,5 +136,7 @@ | |||
| 142 | ;; (delete-file "README.texi") | 136 | ;; (delete-file "README.texi") |
| 143 | ;; (kill-buffer "README.texi")) | 137 | ;; (kill-buffer "README.texi")) |
| 144 | 138 | ||
| 139 | (provide 'esh-maint) | ||
| 140 | |||
| 145 | ;;; arch-tag: 662089b6-78ec-48c5-b94f-d212279e8902 | 141 | ;;; arch-tag: 662089b6-78ec-48c5-b94f-d212279e8902 |
| 146 | ;;; esh-maint.el ends here | 142 | ;;; esh-maint.el ends here |