summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/edebug.el
diff options
context:
space:
mode:
authorMartin Rudalics <rudalics@gmx.at>2011-06-11 16:06:16 +0200
committerMartin Rudalics <rudalics@gmx.at>2011-06-11 16:06:16 +0200
commit6198ccd0b2e8cebc14415e13765de6bb758ec786 (patch)
treefd3a913e20dc8e70f667d7ced7111bd27e64c8e7 /lisp/emacs-lisp/edebug.el
parent1ab0dee5ca2b1368770aac0f796959c95f18ed89 (diff)
downloademacs-6198ccd0b2e8cebc14415e13765de6bb758ec786.tar.gz
emacs-6198ccd0b2e8cebc14415e13765de6bb758ec786.tar.bz2
emacs-6198ccd0b2e8cebc14415e13765de6bb758ec786.zip
Window configuration, balancing and fit-to-buffer rewrites.
* window.c (delete_deletable_window): Re-add. (Fset_window_configuration): Rewrite to handle dead buffers and consequently deletable windows. (window_tree, Fwindow_tree): Remove. Supply functionality in window.el. (compare_window_configurations): Simplify code. * window.el (window-tree-1, window-tree): New functions, moving the latter to window.el. (bw-get-tree, bw-get-tree-1, bw-find-tree-sub) (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir) (bw-refresh-edges): Remove. (balance-windows-1, balance-windows-2): New functions. (balance-windows): Rewrite in terms of window tree functions, balance-windows-1 and balance-windows-2. (bw-adjust-window): Remove. (balance-windows-area-adjust): New function with functionality of bw-adjust-window but using resize-window. (set-window-text-height): Rewrite doc-string. Use normalize-live-window and resize-window. (enlarge-window-horizontally, shrink-window-horizontally): Rename argument to DELTA. (window-buffer-height): New function. (fit-window-to-buffer, shrink-window-if-larger-than-buffer): Rewrite using new window resize routines. (kill-buffer-and-window, mouse-autoselect-window-select): Use ignore-errors instead of condition-case. (quit-window): Call delete-frame instead of delete-windows-on for the only buffer on frame.
Diffstat (limited to 'lisp/emacs-lisp/edebug.el')
0 files changed, 0 insertions, 0 deletions