'How create fringes without spaces in emacs
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))))))
Solution 1:[1]
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-spacingis a variable defined inC source code.Its value is
nilAutomatically 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
nilmeans 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.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Drew |
