mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Merge from origin/emacs-25
ac00a92Make sh-electric-here-document-mode accessible in sh-mode-hoo...3287f48; Add entry to MAINTAINERSb85981f* configure.ac (HAVE_MODULES): Exclude gnu-kfreebsd from prev...0f33284Make use of rectangle-preview custom variable.aa0d83aMake use of rectangle-preview face.33bef6eUse 'grep-find-program' in check-declare.ela8560e5Improve "C-h S" for cl-lib symbols52e798bFix minor issues with removing left or right fringesd6ffd64Speed up redisplay in ansi-term mode4ab671cSimplify 8-bit character handling by terminal for 'raw-text'f3653ec* configure.ac (HAVE_MODULES): Treat gnu like gnu-linux. (Bu...ab849b7Fix w32 memory-management problem when extending buffer text
This commit is contained in:
commit
0808f2a1a3
13 changed files with 148 additions and 108 deletions
|
|
@ -1889,9 +1889,19 @@ the font."
|
|||
(ncols (/ window-width font-width)))
|
||||
(if (and (display-graphic-p)
|
||||
overflow-newline-into-fringe
|
||||
(/= (frame-parameter nil 'left-fringe) 0)
|
||||
(/= (frame-parameter nil 'right-fringe) 0))
|
||||
(not
|
||||
(or (eq left-fringe-width 0)
|
||||
(and (null left-fringe-width)
|
||||
(= (frame-parameter nil 'left-fringe) 0))))
|
||||
(not
|
||||
(or (eq right-fringe-width 0)
|
||||
(and (null right-fringe-width)
|
||||
(= (frame-parameter nil 'right-fringe) 0)))))
|
||||
ncols
|
||||
;; FIXME: This should remove 1 more column when there are no
|
||||
;; fringes, lines are truncated, and the window is hscrolled,
|
||||
;; but EOL is not in the view, because then there are 2
|
||||
;; truncation glyphs, not one.
|
||||
(1- ncols)))))
|
||||
|
||||
(defun window-current-scroll-bars (&optional window)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue