=== modified file 'lisp/org/org-compat.el' *** lisp/org/org-compat.el 2014-01-01 07:43:34 +0000 --- lisp/org/org-compat.el 2014-01-13 11:24:47 +0000 *************** *** 230,244 **** passed through to `fit-window-to-buffer'. If SHRINK-ONLY is set, call `shrink-window-if-larger-than-buffer' instead, the height limit is ignored in this case." ! (cond ((if (fboundp 'window-full-width-p) ! (not (window-full-width-p window)) ! ;; do nothing if another window would suffer ! (> (frame-width) (window-width window)))) ! ((and (fboundp 'fit-window-to-buffer) (not shrink-only)) ! (fit-window-to-buffer window max-height min-height)) ! ((fboundp 'shrink-window-if-larger-than-buffer) ! (shrink-window-if-larger-than-buffer window))) ! (or window (selected-window))) (defun org-number-sequence (from &optional to inc) "Call `number-sequence or emulate it." --- 230,245 ---- passed through to `fit-window-to-buffer'. If SHRINK-ONLY is set, call `shrink-window-if-larger-than-buffer' instead, the height limit is ignored in this case." ! (let ((window-resize-pixelwise t)) ! (cond ((if (fboundp 'window-full-width-p) ! (not (window-full-width-p window)) ! ;; do nothing if another window would suffer ! (> (frame-width) (window-width window)))) ! ((and (fboundp 'fit-window-to-buffer) (not shrink-only)) ! (fit-window-to-buffer window max-height min-height)) ! ((fboundp 'shrink-window-if-larger-than-buffer) ! (shrink-window-if-larger-than-buffer window))) ! (or window (selected-window)))) (defun org-number-sequence (from &optional to inc) "Call `number-sequence or emulate it."