diff options
author | Martin Rudalics <rudalics@gmx.at> | 2014-01-19 10:24:26 +0100 |
---|---|---|
committer | Martin Rudalics <rudalics@gmx.at> | 2014-01-19 10:24:26 +0100 |
commit | 4ff6d92ddd7e36f9dac5b418ddea1ce0524b54c4 (patch) | |
tree | a01784983e964972ea76b534808a977885a4c513 /lisp/term.el | |
parent | d70efef4a8e5c12db9fe3c305aa9590a91be8467 (diff) | |
download | emacs-4ff6d92ddd7e36f9dac5b418ddea1ce0524b54c4.tar.gz |
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).
Diffstat (limited to 'lisp/term.el')
-rw-r--r-- | lisp/term.el | 3 |
1 files changed, 2 insertions, 1 deletions
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)))) |