Commit e76955cb authored by Martin Rudalics's avatar Martin Rudalics
Browse files

In term-window-width subtract 1 from width when any fringe has zero width. (Bug#18601)

* term.el (term-window-width): Subtract 1 from the width when
any fringe has zero width, not just the right fringe.  (Bug#18601)
parent da55edac
2014-10-06 Martin Rudalics <rudalics@gmx.at>
* term.el (term-window-width): Subtract 1 from the width when
any fringe has zero width, not just the right fringe. (Bug#18601)
2014-10-05 Leo Liu <sdl.web@gmail.com>
 
* imenu.el (imenu-default-goto-function): Fix typo.
......
......@@ -974,6 +974,9 @@ is buffer-local."
(if (and (not (featurep 'xemacs))
(display-graphic-p)
overflow-newline-into-fringe
;; Subtract 1 from the width when any fringe has zero width,
;; not just the right fringe. Bug#18601.
(/= (frame-parameter nil 'left-fringe) 0)
(/= (frame-parameter nil 'right-fringe) 0))
(window-body-width)
(1- (window-body-width))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment