Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
berndl committed May 22, 2001
1 parent d250a13 commit 86ef4ef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ecb-layout.el
Expand Up @@ -190,8 +190,8 @@ layout with `ecb-redraw-layout'"
:set ecb-layout-option-set-function
:type 'integer)

(defconst ecb-old-compilation-window-height compilation-window-height)
(defconst ecb-old-temp-buffer-max-height temp-buffer-max-height)
(defvar ecb-old-compilation-window-height compilation-window-height)
(defvar ecb-old-temp-buffer-max-height temp-buffer-max-height)

(defcustom ecb-compile-window-height 5.0
"*If you want a compilation window shown at the bottom
Expand Down
4 changes: 4 additions & 0 deletions ecb.el
Expand Up @@ -1547,6 +1547,10 @@ always the ECB-frame if called from another frame."

;; run personal hooks before drawing the layout
(run-hooks 'ecb-activate-before-layout-draw-hook)

(setq ecb-old-compilation-window-height compilation-window-height)
(setq ecb-old-temp-buffer-max-height temp-buffer-max-height)

;; now we draw the layout choosen in `ecb-layout'. This function
;; acivates at its end also the adviced functions if necessary!
(ecb-redraw-layout)
Expand Down

0 comments on commit 86ef4ef

Please sign in to comment.