diff options
| author | David Kastrup | 2006-09-08 19:47:27 +0000 |
|---|---|---|
| committer | David Kastrup | 2006-09-08 19:47:27 +0000 |
| commit | e24f9e5a68aee05113a617072326b17aae203246 (patch) | |
| tree | 1617a687ffcccb5b105c1c678108233031b8652c | |
| parent | 6f6a8bbe81f878b67d806fe6a88c70a9a24dd484 (diff) | |
| download | emacs-e24f9e5a68aee05113a617072326b17aae203246.tar.gz emacs-e24f9e5a68aee05113a617072326b17aae203246.zip | |
(desktop-read): when loading a desktop, disable
saving it while the load progresses, and switch off a pending lazy
load by calling `desktop-lazy-abort'.
| -rw-r--r-- | lisp/ChangeLog | 16 | ||||
| -rw-r--r-- | lisp/desktop.el | 5 |
2 files changed, 14 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8229d0871ce..6c5c97d195a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2006-09-08 David Kastrup <dak@gnu.org> | ||
| 2 | |||
| 3 | * desktop.el (desktop-read): when loading a desktop, disable | ||
| 4 | saving it while the load progresses, and switch off a pending lazy | ||
| 5 | load by calling `desktop-lazy-abort'. | ||
| 6 | |||
| 1 | 2006-08-27 Martin Rudalics <rudalics@gmx.at> | 7 | 2006-08-27 Martin Rudalics <rudalics@gmx.at> |
| 2 | 8 | ||
| 3 | * window.el (mouse-autoselect-window-timer) | 9 | * window.el (mouse-autoselect-window-timer) |
| @@ -1469,7 +1475,7 @@ | |||
| 1469 | repertoire of unit tests. Called just before the provide iff user | 1475 | repertoire of unit tests. Called just before the provide iff user |
| 1470 | has customized `allout-run-unit-tests-on-load' non-nil. | 1476 | has customized `allout-run-unit-tests-on-load' non-nil. |
| 1471 | 1477 | ||
| 1472 | 2006-07-14 K,Aa(Broly L,Bu(Brentey <lorentey@elte.hu> | 1478 | 2006-07-14 K,Aa(Broly L$,1 q(Brentey <lorentey@elte.hu> |
| 1473 | 1479 | ||
| 1474 | * emacs-lisp/authors.el (authors-aliases): Update. | 1480 | * emacs-lisp/authors.el (authors-aliases): Update. |
| 1475 | 1481 | ||
| @@ -4101,7 +4107,7 @@ | |||
| 4101 | Sync with Tramp 2.0.53. | 4107 | Sync with Tramp 2.0.53. |
| 4102 | 4108 | ||
| 4103 | * net/tramp.el (tramp-completion-mode): ?\t has event-modifier | 4109 | * net/tramp.el (tramp-completion-mode): ?\t has event-modifier |
| 4104 | 'control. Reported by Matthias F,bv(Brste <slashdevslashnull@gmx.net>. | 4110 | 'control. Reported by Matthias F,Av(Brste <slashdevslashnull@gmx.net>. |
| 4105 | (tramp-completion-file-name-handler): Add autoload cookie for | 4111 | (tramp-completion-file-name-handler): Add autoload cookie for |
| 4106 | adding to `file-name-handler-alist'. | 4112 | adding to `file-name-handler-alist'. |
| 4107 | 4113 | ||
| @@ -8695,7 +8701,7 @@ | |||
| 8695 | Let term-handle-ansi-terminal-messages override what Bash says about | 8701 | Let term-handle-ansi-terminal-messages override what Bash says about |
| 8696 | its current directory. | 8702 | its current directory. |
| 8697 | 8703 | ||
| 8698 | 2005-12-16 K,Aa(Broly L,Bu(Brentey <lorentey@elte.hu> | 8704 | 2005-12-16 K,Aa(Broly L$,1 q(Brentey <lorentey@elte.hu> |
| 8699 | 8705 | ||
| 8700 | * bindings.el (last-buffer): Move to simple.el. | 8706 | * bindings.el (last-buffer): Move to simple.el. |
| 8701 | * simple.el (last-buffer): Move here. | 8707 | * simple.el (last-buffer): Move here. |
| @@ -10452,7 +10458,7 @@ | |||
| 10452 | prompts work for AUTH PLAIN. Also reported by Steve Allan | 10458 | prompts work for AUTH PLAIN. Also reported by Steve Allan |
| 10453 | <seallan@verizon.net>. | 10459 | <seallan@verizon.net>. |
| 10454 | 10460 | ||
| 10455 | 2005-12-06 K,Aa(Broly L,Bu(Brentey <lorentey@elte.hu> | 10461 | 2005-12-06 K,Aa(Broly L$,1 q(Brentey <lorentey@elte.hu> |
| 10456 | 10462 | ||
| 10457 | * frame.el (set-frame-parameter): Add doc string. | 10463 | * frame.el (set-frame-parameter): Add doc string. |
| 10458 | 10464 | ||
| @@ -10836,7 +10842,7 @@ | |||
| 10836 | (flyspell-post-command-hook): Check input-pending-p while processing | 10842 | (flyspell-post-command-hook): Check input-pending-p while processing |
| 10837 | the potentially long list of buffer changes. | 10843 | the potentially long list of buffer changes. |
| 10838 | 10844 | ||
| 10839 | 2005-11-28 K,Aa(Broly L,Bu(Brentey <lorentey@elte.hu> | 10845 | 2005-11-28 K,Aa(Broly L$,1 q(Brentey <lorentey@elte.hu> |
| 10840 | 10846 | ||
| 10841 | * buff-menu.el (list-buffers-noselect): Display the selected | 10847 | * buff-menu.el (list-buffers-noselect): Display the selected |
| 10842 | frame's buffer list, not the global one. | 10848 | frame's buffer list, not the global one. |
diff --git a/lisp/desktop.el b/lisp/desktop.el index fe5a278bae8..e81648b0b3c 100644 --- a/lisp/desktop.el +++ b/lisp/desktop.el | |||
| @@ -862,8 +862,9 @@ It returns t if a desktop file was loaded, nil otherwise." | |||
| 862 | ;; Desktop file found, process it. | 862 | ;; Desktop file found, process it. |
| 863 | (let ((desktop-first-buffer nil) | 863 | (let ((desktop-first-buffer nil) |
| 864 | (desktop-buffer-ok-count 0) | 864 | (desktop-buffer-ok-count 0) |
| 865 | (desktop-buffer-fail-count 0)) | 865 | (desktop-buffer-fail-count 0) |
| 866 | (setq desktop-lazy-timer nil) | 866 | desktop-save) |
| 867 | (desktop-lazy-abort) | ||
| 867 | ;; Evaluate desktop buffer. | 868 | ;; Evaluate desktop buffer. |
| 868 | (load (desktop-full-file-name) t t t) | 869 | (load (desktop-full-file-name) t t t) |
| 869 | ;; `desktop-create-buffer' puts buffers at end of the buffer list. | 870 | ;; `desktop-create-buffer' puts buffers at end of the buffer list. |