Commit f423692
committed
fix: Handle cons cell value for line-spacing
The `line-spacing` variable can be a [cons cell][1], such as `(0.1 . 0.1)`,
in addition to a plain number. Each value in this cons is spacing above
and below the line. The correct value of line-spacing would be to use
[`total-line-spacing`][1] instead of raw value.
The previous code did not handle the cons cell format, leading to a
`wrong-type-argument` error. This change uses `total-line-spacing` instead.
[1]: emacs-mirror/emacs@e8f26d51 parent e79aa49 commit f423692
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
| 317 | + | |
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
| |||
0 commit comments