diff options
| author | Kenichi Handa | 2000-08-17 01:08:11 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2000-08-17 01:08:11 +0000 |
| commit | 357438ebe064605fbd5301ab2e04d27600a8ec0b (patch) | |
| tree | 58b3eb92903b011e1c2be406c166a208c7100e2d | |
| parent | abfdbd2eb6ce2cf12a2d198a4eb180a1a630eb24 (diff) | |
| download | emacs-357438ebe064605fbd5301ab2e04d27600a8ec0b.tar.gz emacs-357438ebe064605fbd5301ab2e04d27600a8ec0b.zip | |
(normal-top-level): Look in each dir in load-path for a leim-list.el
file too. This assures of loading leim-list.el that is created at
Emacs installation time even if a user have his own leim-list.el.
| -rw-r--r-- | lisp/startup.el | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/startup.el b/lisp/startup.el index 42a7dcffbcb..08082ed31cf 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -408,6 +408,8 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'." | |||
| 408 | ;; Look in each dir in load-path for a subdirs.el file. | 408 | ;; Look in each dir in load-path for a subdirs.el file. |
| 409 | ;; If we find one, load it, which will add the appropriate subdirs | 409 | ;; If we find one, load it, which will add the appropriate subdirs |
| 410 | ;; of that dir into load-path, | 410 | ;; of that dir into load-path, |
| 411 | ;; Look for a leim-list.el file too. Loading it will register | ||
| 412 | ;; available input methods. | ||
| 411 | (let ((tail load-path) | 413 | (let ((tail load-path) |
| 412 | new) | 414 | new) |
| 413 | (while tail | 415 | (while tail |
| @@ -415,6 +417,9 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'." | |||
| 415 | (condition-case nil | 417 | (condition-case nil |
| 416 | (let ((default-directory (car tail))) | 418 | (let ((default-directory (car tail))) |
| 417 | (load (expand-file-name "subdirs.el" (car tail)) t t t))) | 419 | (load (expand-file-name "subdirs.el" (car tail)) t t t))) |
| 420 | (condition-case nil | ||
| 421 | (let ((default-directory (car tail))) | ||
| 422 | (load (expand-file-name "leim-list.el" (car tail)) t t t))) | ||
| 418 | (setq tail (cdr tail)))) | 423 | (setq tail (cdr tail)))) |
| 419 | (if (not (eq system-type 'vax-vms)) | 424 | (if (not (eq system-type 'vax-vms)) |
| 420 | (progn | 425 | (progn |
| @@ -662,9 +667,6 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'." | |||
| 662 | (if site-run-file | 667 | (if site-run-file |
| 663 | (load site-run-file t t)) | 668 | (load site-run-file t t)) |
| 664 | 669 | ||
| 665 | ;; Register available input methods by loading LEIM list file. | ||
| 666 | (load "leim-list.el" 'noerror 'nomessage 'nosuffix) | ||
| 667 | |||
| 668 | ;; Sites should not disable this. Only individuals should disable | 670 | ;; Sites should not disable this. Only individuals should disable |
| 669 | ;; the startup message. | 671 | ;; the startup message. |
| 670 | (setq inhibit-startup-message nil) | 672 | (setq inhibit-startup-message nil) |