emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-24 r117557: In term-window-width subtract 1 from wid


From: Martin Rudalics
Subject: [Emacs-diffs] emacs-24 r117557: In term-window-width subtract 1 from width when any fringe has zero width. (Bug#18601)
Date: Mon, 06 Oct 2014 06:45:34 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117557
revision-id: address@hidden
parent: address@hidden
committer: martin rudalics <address@hidden>
branch nick: emacs-24
timestamp: Mon 2014-10-06 08:45:10 +0200
message:
  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)
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/term.el                   term.el-20091113204419-o5vbwnq5f7feedwu-794
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-10-05 00:58:38 +0000
+++ b/lisp/ChangeLog    2014-10-06 06:45:10 +0000
@@ -1,3 +1,8 @@
+2014-10-06  Martin Rudalics  <address@hidden>
+
+       * 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  <address@hidden>
 
        * imenu.el (imenu-default-goto-function): Fix typo.

=== modified file 'lisp/term.el'
--- a/lisp/term.el      2014-04-23 02:22:06 +0000
+++ b/lisp/term.el      2014-10-06 06:45:10 +0000
@@ -974,6 +974,9 @@
   (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))))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]