summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/byte-run.el
diff options
context:
space:
mode:
authorAnders Lindgren <andlind@gmail.com>2016-04-26 20:58:52 +0200
committerAnders Lindgren <andlind@gmail.com>2016-04-27 23:28:07 +0200
commitff7e201ed87d206334afedd4366deebba440efde (patch)
tree5d49a00bcb70bf5443748d69bac1da2581e4a57c /lisp/emacs-lisp/byte-run.el
parent71fb0e06e7e04d8300be10feffd3d314a76b4d27 (diff)
downloademacs-ff7e201ed87d206334afedd4366deebba440efde.tar.gz
emacs-ff7e201ed87d206334afedd4366deebba440efde.tar.bz2
emacs-ff7e201ed87d206334afedd4366deebba440efde.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'. Backport (cherry picked from commit 5b5403289888efe8783ae6a405845b925f544ec1)
Diffstat (limited to 'lisp/emacs-lisp/byte-run.el')
0 files changed, 0 insertions, 0 deletions