diff options
| -rw-r--r-- | lisp/term.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/term.el b/lisp/term.el index 9866db7e29c..590a9b0a1d5 100644 --- a/lisp/term.el +++ b/lisp/term.el | |||
| @@ -925,7 +925,7 @@ is buffer-local.") | |||
| 925 | (defun term-window-width () | 925 | (defun term-window-width () |
| 926 | (if (featurep 'xemacs) | 926 | (if (featurep 'xemacs) |
| 927 | (1- (window-width)) | 927 | (1- (window-width)) |
| 928 | (if window-system | 928 | (if (and window-system overflow-newline-into-fringe) |
| 929 | (window-width) | 929 | (window-width) |
| 930 | (1- (window-width))))) | 930 | (1- (window-width))))) |
| 931 | 931 | ||
| @@ -988,8 +988,6 @@ Entry to this mode runs the hooks on `term-mode-hook'." | |||
| 988 | (make-local-variable 'term-width) | 988 | (make-local-variable 'term-width) |
| 989 | (setq term-width (term-window-width)) | 989 | (setq term-width (term-window-width)) |
| 990 | (setq term-height (1- (window-height))) | 990 | (setq term-height (1- (window-height))) |
| 991 | (term-ifnot-xemacs | ||
| 992 | (set (make-local-variable 'overflow-newline-into-fringe) nil)) | ||
| 993 | (make-local-variable 'term-terminal-parameter) | 991 | (make-local-variable 'term-terminal-parameter) |
| 994 | (make-local-variable 'term-saved-cursor) | 992 | (make-local-variable 'term-saved-cursor) |
| 995 | (make-local-variable 'term-last-input-start) | 993 | (make-local-variable 'term-last-input-start) |