diff options
author | Martin Rudalics <rudalics@gmx.at> | 2012-10-27 10:58:30 +0200 |
---|---|---|
committer | Martin Rudalics <rudalics@gmx.at> | 2012-10-27 10:58:30 +0200 |
commit | df171c230cc8a5da73684740ff5cfa364fa8c1c4 (patch) | |
tree | 855aa18e00b00d43ec267e7dfbeccf64a0a8ad58 /lisp/time.el | |
parent | 05b621a6b22cb1c856a9f223d79203cb3ceaf29a (diff) | |
download | emacs-df171c230cc8a5da73684740ff5cfa364fa8c1c4.tar.gz |
In display-time-world restore fit-window-to-buffer behavior.
* window.el (display-buffer): In doc-string describe
window-height and window-width alist entries.
* time.el (display-time-world): Restore fit-window-to-buffer
behavior.
Diffstat (limited to 'lisp/time.el')
-rw-r--r-- | lisp/time.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/time.el b/lisp/time.el index 7473994ffa5..a3bbee0c893 100644 --- a/lisp/time.el +++ b/lisp/time.el @@ -557,7 +557,8 @@ To turn off the world time display, go to that window and type `q'." (run-at-time t display-time-world-timer-second 'display-time-world-timer)) (with-current-buffer (get-buffer-create display-time-world-buffer-name) (display-time-world-display display-time-world-list) - (display-buffer display-time-world-buffer-name) + (display-buffer display-time-world-buffer-name + (cons nil '((window-height . fit-window-to-buffer)))) (display-time-world-mode))) (defun display-time-world-timer () |