Reputation: 1
How to remove bottom vertical space between fringes ?
I have the following code
(defun test--fringe()
(interactive)
(save-excursion (let ((ov (make-overlay (point)
(+ 1 (point)))))
(overlay-put ov 'before-string (propertize "x" 'display '(left-fringe
filled-rectangle
error))))
(forward-line)
(let ((ov (make-overlay (point)
(+ 1 (point)))))
(overlay-put ov 'before-string (propertize "x" 'display '(left-fringe
filled-rectangle
error))))))
Upvotes: 0
Views: 146
Reputation: 30708
Do you see that if you start Emacs using emacs -Q
? I don't. If you don't, then bisect your init file to find the culprit.
Perhaps you or some code you use has customized option line-spacing
? C-h v
says:
line-spacing
is a variable defined inC source code
.Its value is
nil
Automatically becomes buffer-local when set.
Documentation:
Additional space to put between lines when displaying a buffer.
The space is measured in pixels, and put below lines on graphic displays, see
display-graphic-p
.If value is a floating point number, it specifies the spacing relative to the default frame line height. A value of
nil
means add no extra space.You can customize this variable.
This variable was introduced, or its default value was changed, in version 22.1 of Emacs.
Upvotes: 0