Extend last fix of term-window-width (Bug#16470).
authorMartin Rudalics <rudalics@gmx.at>
Sun, 19 Jan 2014 16:59:51 +0000 (17:59 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Sun, 19 Jan 2014 16:59:51 +0000 (17:59 +0100)
lisp/term.el

index 6647e3e..87898ba 100644 (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))))
 
 \f
 (put 'term-mode 'mode-class 'special)