diff options
| author | Martin Rudalics | 2012-06-26 09:13:40 +0200 |
|---|---|---|
| committer | Martin Rudalics | 2012-06-26 09:13:40 +0200 |
| commit | 5cf983b29d92c0c5d90b233d2c25f4f5defb60be (patch) | |
| tree | 4047508877a8f6658297aa0aa195bb9468d447bc | |
| parent | 42997f4d4fb5614157f8f798286787c5d2976fb6 (diff) | |
| download | emacs-5cf983b29d92c0c5d90b233d2c25f4f5defb60be.tar.gz emacs-5cf983b29d92c0c5d90b233d2c25f4f5defb60be.zip | |
In calendar-exit don't try to delete or iconify last frame.
* calendar/calendar.el (calendar-exit): Don't try to delete or
iconify last frame. See:
http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/calendar/calendar.el | 9 |
2 files changed, 11 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 02c81a1018d..ac24259869a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2012-06-26 Martin Rudalics <rudalics@gmx.at> | ||
| 2 | |||
| 3 | * calendar/calendar.el (calendar-exit): Don't try to delete or | ||
| 4 | iconify last frame. See: | ||
| 5 | http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html | ||
| 6 | |||
| 1 | 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change) | 7 | 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change) |
| 2 | 8 | ||
| 3 | * server.el (server-process-filter): Remember dir in the | 9 | * server.el (server-process-filter): Remember dir in the |
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el index c47bbdff5ec..d5514d14a32 100644 --- a/lisp/calendar/calendar.el +++ b/lisp/calendar/calendar.el | |||
| @@ -1818,10 +1818,11 @@ the STRINGS are just concatenated and the result truncated." | |||
| 1818 | (dolist (w (window-list-1 nil nil t)) | 1818 | (dolist (w (window-list-1 nil nil t)) |
| 1819 | (if (and (memq (window-buffer w) calendar-buffers) | 1819 | (if (and (memq (window-buffer w) calendar-buffers) |
| 1820 | (window-dedicated-p w)) | 1820 | (window-dedicated-p w)) |
| 1821 | (if calendar-remove-frame-by-deleting | 1821 | (if (eq (window-deletable-p w) 'frame) |
| 1822 | (delete-frame (window-frame w)) | 1822 | (if calendar-remove-frame-by-deleting |
| 1823 | (iconify-frame (window-frame w))) | 1823 | (delete-frame (window-frame w)) |
| 1824 | (quit-window kill w))) | 1824 | (iconify-frame (window-frame w))) |
| 1825 | (quit-window kill w)))) | ||
| 1825 | (dolist (b calendar-buffers) | 1826 | (dolist (b calendar-buffers) |
| 1826 | (quit-windows-on b kill)))))) | 1827 | (quit-windows-on b kill)))))) |
| 1827 | 1828 | ||