diff options
author | Anders Lindgren <andlind@gmail.com> | 2016-04-26 20:58:52 +0200 |
---|---|---|
committer | Anders Lindgren <andlind@gmail.com> | 2016-04-26 20:58:52 +0200 |
commit | 5b5403289888efe8783ae6a405845b925f544ec1 (patch) | |
tree | 1fb6846e55de662653e8af049154a1af4c1a2953 /lisp/emacs-lisp | |
parent | 07d729130e5774fc484ba324d9149d4c6f008260 (diff) | |
download | emacs-5b5403289888efe8783ae6a405845b925f544ec1.tar.gz emacs-5b5403289888efe8783ae6a405845b925f544ec1.tar.bz2 emacs-5b5403289888efe8783ae6a405845b925f544ec1.zip |
Fix bug#22891: wrong terminal width when a fringe width is zero.
When either fringe width is zero, Emacs reserved one column for a
continuation glyph. Terminal windows does not take this into
account when the frame is resized.
* lisp/window.el (window-adjust-process-window-size): Use
`window-max-chars-per-line' instead of `window-body-width'.
* lisp/term.el (term-window-width): Remove function. (It does the
same as `window-max-chars-per-line' but without recent bug fixes.)
(term-mode): Use `window-max-chars-per-line' instead of
`term-window-width'.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions