Mercurial > emacs
changeset 56965:bebd8a58e0f8
(term-window-width): Only use full window width on
window system if overflow-newline-into-fringe is enabled.
(term-mode): Don't disable overflow-newline-into-fringe.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Tue, 07 Sep 2004 20:54:03 +0000 |
parents | eaf57d83bae6 |
children | 8fa869733358 |
files | lisp/term.el |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/term.el Tue Sep 07 20:53:43 2004 +0000 +++ b/lisp/term.el Tue Sep 07 20:54:03 2004 +0000 @@ -925,7 +925,7 @@ (defun term-window-width () (if (featurep 'xemacs) (1- (window-width)) - (if window-system + (if (and window-system overflow-newline-into-fringe) (window-width) (1- (window-width))))) @@ -988,8 +988,6 @@ (make-local-variable 'term-width) (setq term-width (term-window-width)) (setq term-height (1- (window-height))) - (term-ifnot-xemacs - (set (make-local-variable 'overflow-newline-into-fringe) nil)) (make-local-variable 'term-terminal-parameter) (make-local-variable 'term-saved-cursor) (make-local-variable 'term-last-input-start)