From: Martin Rudalics Date: Sun, 19 Jan 2014 16:59:51 +0000 (+0100) Subject: Extend last fix of term-window-width (Bug#16470). X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~333 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ad9eb30a3ffe4cfd8dc759e9c89f33414a56a2cc;p=emacs.git Extend last fix of term-window-width (Bug#16470). --- diff --git a/lisp/term.el b/lisp/term.el index 6647e3e32ea..87898bac39f 100644 --- a/lisp/term.el +++ b/lisp/term.el @@ -977,7 +977,7 @@ is buffer-local." (/= (frame-parameter nil 'right-fringe) 0)) ;; Call window-text-width instead of window-width (Bug#16470). (window-text-width) - (1- (window-width)))) + (1- (window-text-width)))) (put 'term-mode 'mode-class 'special)