diff options
| author | Paul Eggert | 2016-08-05 14:06:59 -0700 |
|---|---|---|
| committer | Paul Eggert | 2016-08-05 14:06:59 -0700 |
| commit | 80fcf41d31ae2a4815a1cb63bf08a88a3c7910b5 (patch) | |
| tree | 6fd85620c6a3ae3667720695cfc42c659b665f64 /src | |
| parent | 8d9ad899f11ec2a6763617ba069fdaf3889ac4e1 (diff) | |
| parent | 850ba444a7be542c8dc92efbeb4031868f3f779d (diff) | |
| download | emacs-80fcf41d31ae2a4815a1cb63bf08a88a3c7910b5.tar.gz emacs-80fcf41d31ae2a4815a1cb63bf08a88a3c7910b5.zip | |
Merge from origin/emacs-25
850ba44 Clarify lexical binding with symbol args behavior
f981b31 * lisp/net/tramp-sh.el (tramp-remote-path): Doc fix.
68fc964 * lisp/net/tramp-sh.el (tramp-remote-path): Doc fix. (Bug#23...
21110af Avoid assertion violations when rendering some fonts
6192b6c Document more details of package activation
272ddc6 Fixup warning message regarding HOME a bit more
43206d6 * lisp/leim/quail/indian.el ("bengali-probhat"): Change indic...
d41f7ff Fix input method "probhat" for Bengali
c150a64 ; Fix typo in commit before last
ebf0472 Add to elisp-completion-at-point's docstring
fd9fad0 Give more helpful warning about setting HOME
ea6b01d ; * lisp/term.el (term-mode): FIXME comment about bidi reorde...
# Conflicts:
# lisp/term.el
Diffstat (limited to 'src')
| -rw-r--r-- | src/dispextern.h | 3 | ||||
| -rw-r--r-- | src/w32.c | 11 |
2 files changed, 9 insertions, 5 deletions
diff --git a/src/dispextern.h b/src/dispextern.h index 1325ff9da28..f2c42de6cd2 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -1542,7 +1542,8 @@ struct glyph_string | |||
| 1542 | large vertical space. The heuristics is in the factor of 3. We | 1542 | large vertical space. The heuristics is in the factor of 3. We |
| 1543 | ignore the ascent and descent values reported by such fonts, and | 1543 | ignore the ascent and descent values reported by such fonts, and |
| 1544 | instead go by the values reported for individual glyphs. */ | 1544 | instead go by the values reported for individual glyphs. */ |
| 1545 | #define FONT_TOO_HIGH(ft) ((ft)->ascent + (ft)->descent > 3*(ft)->pixel_size) | 1545 | #define FONT_TOO_HIGH(ft) \ |
| 1546 | ((ft)->pixel_size > 0 && (ft)->ascent + (ft)->descent > 3*(ft)->pixel_size) | ||
| 1546 | 1547 | ||
| 1547 | 1548 | ||
| 1548 | /*********************************************************************** | 1549 | /*********************************************************************** |
| @@ -2822,10 +2822,13 @@ init_environment (char ** argv) | |||
| 2822 | } | 2822 | } |
| 2823 | if (strcmp (env_vars[i].name, "HOME") == 0 && !appdata) | 2823 | if (strcmp (env_vars[i].name, "HOME") == 0 && !appdata) |
| 2824 | Vdelayed_warnings_list | 2824 | Vdelayed_warnings_list |
| 2825 | = Fcons (listn (CONSTYPE_HEAP, 2, | 2825 | = Fcons |
| 2826 | intern ("initialization"), | 2826 | (listn (CONSTYPE_HEAP, 2, |
| 2827 | build_string ("Setting HOME to C:\\ by default is deprecated")), | 2827 | intern ("initialization"), build_string |
| 2828 | Vdelayed_warnings_list); | 2828 | ("Use of `C:\\.emacs' without defining `HOME'\n" |
| 2829 | "in the environment is deprecated, " | ||
| 2830 | "see `Windows HOME' in the Emacs manual.")), | ||
| 2831 | Vdelayed_warnings_list); | ||
| 2829 | } | 2832 | } |
| 2830 | 2833 | ||
| 2831 | if (lpval) | 2834 | if (lpval) |