Extend last fix of term-window-width (Bug#16470).

This commit is contained in:
Martin Rudalics 2014-01-19 17:59:51 +01:00
parent 21f9541125
commit ad9eb30a3f

View file

@ -977,7 +977,7 @@ is buffer-local."
(/= (frame-parameter nil 'right-fringe) 0))
;; Call window-text-width instead of window-width (Bug#16470).
(window-text-width)
(1- (window-width))))
(1- (window-text-width))))
(put 'term-mode 'mode-class 'special)