mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-01 08:17:38 +00:00
* lisp/term.el (term-mode): Use `window-text-height' (Bug#5615).
This commit is contained in:
parent
2326a3ab13
commit
dbd3a17cb0
@ -1007,7 +1007,7 @@ Entry to this mode runs the hooks on `term-mode-hook'."
|
||||
(setq indent-tabs-mode nil)
|
||||
(setq buffer-display-table term-display-table)
|
||||
(set (make-local-variable 'term-home-marker) (copy-marker 0))
|
||||
(set (make-local-variable 'term-height) (1- (window-height)))
|
||||
(set (make-local-variable 'term-height) (window-text-height))
|
||||
(set (make-local-variable 'term-width) (window-max-chars-per-line))
|
||||
(set (make-local-variable 'term-last-input-start) (make-marker))
|
||||
(set (make-local-variable 'term-last-input-end) (make-marker))
|
||||
|
Loading…
Reference in New Issue
Block a user