diff options
| author | Stefan Monnier | 2005-05-25 14:18:45 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2005-05-25 14:18:45 +0000 |
| commit | b6666b5f60a5c3cf5abd4e3003ed58c5042b08ff (patch) | |
| tree | 0f11e68cb61d126a11d0225ce72c633ce3f2541c | |
| parent | 7235a58f704aff3428fe11c4729e2e23e0eab7d5 (diff) | |
| download | emacs-b6666b5f60a5c3cf5abd4e3003ed58c5042b08ff.tar.gz emacs-b6666b5f60a5c3cf5abd4e3003ed58c5042b08ff.zip | |
(normal-top-level): Allow modification of load-path while iterating over it.
| -rw-r--r-- | lisp/ChangeLog | 23 | ||||
| -rw-r--r-- | lisp/startup.el | 16 |
2 files changed, 25 insertions, 14 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3a87822af49..b57e18d462b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2005-05-25 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * startup.el (normal-top-level): Allow modification of load-path while | ||
| 4 | we're iterating over it. | ||
| 5 | |||
| 1 | 2005-05-25 Juanma Barranquero <lekktu@gmail.com> | 6 | 2005-05-25 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 7 | ||
| 3 | * thumbs.el (thumbs-thumbsdir-max-size, thumbs-temp-file) | 8 | * thumbs.el (thumbs-thumbsdir-max-size, thumbs-temp-file) |
| @@ -22,15 +27,15 @@ | |||
| 22 | 27 | ||
| 23 | 2005-05-24 Nick Roberts <nickrob@snap.net.nz> | 28 | 2005-05-24 Nick Roberts <nickrob@snap.net.nz> |
| 24 | 29 | ||
| 25 | * progmodes/gdb-ui.el (gdb-inferior-io-mode-map): Bind | 30 | * progmodes/gdb-ui.el (gdb-inferior-io-mode-map): |
| 26 | gdb-inferior-io-eof to C-d. | 31 | Bind gdb-inferior-io-eof to C-d. |
| 27 | 32 | ||
| 28 | * dired.el (dired-dnd-popup-notice): Use message-box. | 33 | * dired.el (dired-dnd-popup-notice): Use message-box. |
| 29 | 34 | ||
| 30 | 2005-05-23 Masatake YAMATO <jet@gyve.org> | 35 | 2005-05-23 Masatake YAMATO <jet@gyve.org> |
| 31 | 36 | ||
| 32 | * bindings.el (mode-line-major-mode-keymap): Bind | 37 | * bindings.el (mode-line-major-mode-keymap): |
| 33 | [mode-line down-mouse-1] to `mouse-major-mode-menu'. | 38 | Bind [mode-line down-mouse-1] to `mouse-major-mode-menu'. |
| 34 | 39 | ||
| 35 | * faces.el (mode-line-highlight): New face. | 40 | * faces.el (mode-line-highlight): New face. |
| 36 | 41 | ||
| @@ -394,7 +399,7 @@ | |||
| 394 | 399 | ||
| 395 | 2005-05-19 Carsten Dominik <dominik@science.uva.nl> | 400 | 2005-05-19 Carsten Dominik <dominik@science.uva.nl> |
| 396 | 401 | ||
| 397 | * textmodes/reftex.el (reftex-isearch-minor-mode): Moved the | 402 | * textmodes/reftex.el (reftex-isearch-minor-mode): Move the |
| 398 | definition of this variable from reftex-global.el to reftex.el, | 403 | definition of this variable from reftex-global.el to reftex.el, |
| 399 | because it is needed in the menu. | 404 | because it is needed in the menu. |
| 400 | 405 | ||
| @@ -417,8 +422,8 @@ | |||
| 417 | (makefile-add-this-line-macro): Simplify and integrate into | 422 | (makefile-add-this-line-macro): Simplify and integrate into |
| 418 | `makefile-pickup-macros. | 423 | `makefile-pickup-macros. |
| 419 | (makefile-pickup-filenames-as-targets): Simplify. | 424 | (makefile-pickup-filenames-as-targets): Simplify. |
| 420 | (makefile-previous-dependency, makefile-match-dependency): Don't | 425 | (makefile-previous-dependency, makefile-match-dependency): |
| 421 | stumble over `::'. | 426 | Don't stumble over `::'. |
| 422 | 427 | ||
| 423 | 2005-05-19 Nick Roberts <nickrob@snap.net.nz> | 428 | 2005-05-19 Nick Roberts <nickrob@snap.net.nz> |
| 424 | 429 | ||
| @@ -432,8 +437,8 @@ | |||
| 432 | * help-fns.el (describe-variable): Remove hyperlinks in a | 437 | * help-fns.el (describe-variable): Remove hyperlinks in a |
| 433 | variable's value as these are quite frequently inappropriate. | 438 | variable's value as these are quite frequently inappropriate. |
| 434 | 439 | ||
| 435 | * follow.el (follow-submit-feedback, follow-mode): Remove | 440 | * follow.el (follow-submit-feedback, follow-mode): |
| 436 | references to post-command-idle-hook. | 441 | Remove references to post-command-idle-hook. |
| 437 | 442 | ||
| 438 | 2005-05-18 Daniel Pfeiffer <occitan@esperanto.org> | 443 | 2005-05-18 Daniel Pfeiffer <occitan@esperanto.org> |
| 439 | 444 | ||
diff --git a/lisp/startup.el b/lisp/startup.el index b7d1a1d34df..53539c6185f 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -368,11 +368,17 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'." | |||
| 368 | ;; of that dir into load-path, | 368 | ;; of that dir into load-path, |
| 369 | ;; Look for a leim-list.el file too. Loading it will register | 369 | ;; Look for a leim-list.el file too. Loading it will register |
| 370 | ;; available input methods. | 370 | ;; available input methods. |
| 371 | (dolist (dir load-path) | 371 | (let ((tail load-path) dir) |
| 372 | (let ((default-directory dir)) | 372 | (while tail |
| 373 | (load (expand-file-name "subdirs.el") t t t)) | 373 | (setq dir (car tail)) |
| 374 | (let ((default-directory dir)) | 374 | (let ((default-directory dir)) |
| 375 | (load (expand-file-name "leim-list.el") t t t))) | 375 | (load (expand-file-name "subdirs.el") t t t)) |
| 376 | (let ((default-directory dir)) | ||
| 377 | (load (expand-file-name "leim-list.el") t t t)) | ||
| 378 | ;; We don't use a dolist loop and we put this "setq-cdr" command at | ||
| 379 | ;; the end, because the subdirs.el files may add elements to the end | ||
| 380 | ;; of load-path and we want to take it into account. | ||
| 381 | (setq tail (cdr tail)))) | ||
| 376 | (unless (eq system-type 'vax-vms) | 382 | (unless (eq system-type 'vax-vms) |
| 377 | ;; If the PWD environment variable isn't accurate, delete it. | 383 | ;; If the PWD environment variable isn't accurate, delete it. |
| 378 | (let ((pwd (getenv "PWD"))) | 384 | (let ((pwd (getenv "PWD"))) |