From: Martin Rudalics Date: Sun, 19 Jan 2014 09:24:26 +0000 (+0100) Subject: In term-window-width call window-text-width instead of window-width (Bug#16470). X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~337 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4ff6d92ddd7e36f9dac5b418ddea1ce0524b54c4;p=emacs.git In term-window-width call window-text-width instead of window-width (Bug#16470). * term.el (term-window-width): Call window-text-width instead of window-width (Bug#16470). --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 798967e09e5..471be5eee78 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2014-01-19 Martin Rudalics + + * term.el (term-window-width): Call window-text-width instead of + window-width (Bug#16470). + 2014-01-18 Paul Eggert * simple.el (password-word-equivalents): Remove duplicates. diff --git a/lisp/term.el b/lisp/term.el index 2a6915f983b..6647e3e32ea 100644 --- a/lisp/term.el +++ b/lisp/term.el @@ -975,7 +975,8 @@ is buffer-local." (display-graphic-p) overflow-newline-into-fringe (/= (frame-parameter nil 'right-fringe) 0)) - (window-width) + ;; Call window-text-width instead of window-width (Bug#16470). + (window-text-width) (1- (window-width))))