diff options
| author | Aaron Jensen | 2018-03-10 13:14:28 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2018-03-10 13:14:28 +0200 |
| commit | bbf53d99b57bd3d7fc0427d378df2efc6fa10e00 (patch) | |
| tree | 0d3074b8c6ad4acff71383fa8be427a03a63d8df /src/xdisp.c | |
| parent | 461e681822ff86132a6dc18b65eb2070cb006800 (diff) | |
| download | emacs-bbf53d99b57bd3d7fc0427d378df2efc6fa10e00.tar.gz emacs-bbf53d99b57bd3d7fc0427d378df2efc6fa10e00.zip | |
Allow underline position variables be buffer-local
* src/nsterm.m (ns_draw_text_decoration):
* src/w32term.c (x_draw_glyph_string):
* src/xterm.c (x_draw_glyph_string): Allow underline-minimum-offset,
underline-at-descent-line, and x-use-underline-position-properties
be buffer local variables. (Bug#30553)
* src/xdisp.c (syms_of_xdisp) <underline-minimum-offset>: Add DEFSYM.
Diffstat (limited to 'src/xdisp.c')
| -rw-r--r-- | src/xdisp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index c2b3f5d954c..44eb1ebf059 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -33040,6 +33040,7 @@ particularly when using variable `x-use-underline-position-properties' | |||
| 33040 | with fonts that specify an UNDERLINE_POSITION relatively close to the | 33040 | with fonts that specify an UNDERLINE_POSITION relatively close to the |
| 33041 | baseline. The default value is 1. */); | 33041 | baseline. The default value is 1. */); |
| 33042 | underline_minimum_offset = 1; | 33042 | underline_minimum_offset = 1; |
| 33043 | DEFSYM (Qunderline_minimum_offset, "underline-minimum-offset"); | ||
| 33043 | 33044 | ||
| 33044 | DEFVAR_BOOL ("display-hourglass", display_hourglass_p, | 33045 | DEFVAR_BOOL ("display-hourglass", display_hourglass_p, |
| 33045 | doc: /* Non-nil means show an hourglass pointer, when Emacs is busy. | 33046 | doc: /* Non-nil means show an hourglass pointer, when Emacs is busy. |