aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2016-08-05 14:06:59 -0700
committerPaul Eggert2016-08-05 14:06:59 -0700
commit80fcf41d31ae2a4815a1cb63bf08a88a3c7910b5 (patch)
tree6fd85620c6a3ae3667720695cfc42c659b665f64 /src
parent8d9ad899f11ec2a6763617ba069fdaf3889ac4e1 (diff)
parent850ba444a7be542c8dc92efbeb4031868f3f779d (diff)
downloademacs-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.h3
-rw-r--r--src/w32.c11
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/***********************************************************************
diff --git a/src/w32.c b/src/w32.c
index 71a38b91946..1db34260978 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -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)