diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog.3 | 2 | ||||
| -rw-r--r-- | src/frame.c | 10 | ||||
| -rw-r--r-- | src/keyboard.c | 2 | ||||
| -rw-r--r-- | src/w32.c | 6 | ||||
| -rw-r--r-- | src/xdisp.c | 7 |
5 files changed, 16 insertions, 11 deletions
diff --git a/src/ChangeLog.3 b/src/ChangeLog.3 index 3cb0d1ac453..5162519148d 100644 --- a/src/ChangeLog.3 +++ b/src/ChangeLog.3 | |||
| @@ -15583,7 +15583,7 @@ | |||
| 15583 | 15583 | ||
| 15584 | 1989-04-29 Joe Arceneaux (jla@apple-gunkies.ai.mit.edu) | 15584 | 1989-04-29 Joe Arceneaux (jla@apple-gunkies.ai.mit.edu) |
| 15585 | 15585 | ||
| 15586 | * xterm.c (x_term_init): Don't set visible bell, as it pre-empts | 15586 | * xterm.c (x_term_init): Don't set visible bell, as it preempts |
| 15587 | .emacs control. | 15587 | .emacs control. |
| 15588 | 15588 | ||
| 15589 | 1989-04-26 Richard Stallman (rms@sugar-bombs.ai.mit.edu) | 15589 | 1989-04-26 Richard Stallman (rms@sugar-bombs.ai.mit.edu) |
diff --git a/src/frame.c b/src/frame.c index c77b016b709..49203fce375 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -7153,11 +7153,11 @@ Gtk+ tooltips are not used) and on Windows. */); | |||
| 7153 | tooltip_reuse_hidden_frame = false; | 7153 | tooltip_reuse_hidden_frame = false; |
| 7154 | 7154 | ||
| 7155 | DEFVAR_BOOL ("use-system-tooltips", use_system_tooltips, | 7155 | DEFVAR_BOOL ("use-system-tooltips", use_system_tooltips, |
| 7156 | doc: /* Use the toolkit to display tooltips. | 7156 | doc: /* Whether to use the toolkit to display tooltips. |
| 7157 | This option is only meaningful when Emacs is built with GTK+ or Haiku | 7157 | This option is only meaningful when Emacs is built with GTK+, NS or Haiku |
| 7158 | windowing support, and results in tooltips that look like those | 7158 | windowing support, and, if it's non-nil (the default), it results in |
| 7159 | displayed by other GTK+ or Haiku programs, but will not be able to | 7159 | tooltips that look like those displayed by other GTK+/NS/Haiku programs, |
| 7160 | display text properties inside tooltip text. */); | 7160 | but will not be able to display text properties inside tooltip text. */); |
| 7161 | use_system_tooltips = true; | 7161 | use_system_tooltips = true; |
| 7162 | 7162 | ||
| 7163 | DEFVAR_LISP ("iconify-child-frame", iconify_child_frame, | 7163 | DEFVAR_LISP ("iconify-child-frame", iconify_child_frame, |
diff --git a/src/keyboard.c b/src/keyboard.c index 6208b333e9c..850b5e06480 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -2675,7 +2675,7 @@ read_char (int commandflag, Lisp_Object map, | |||
| 2675 | /* Normal case: no input arrived during redisplay. */ | 2675 | /* Normal case: no input arrived during redisplay. */ |
| 2676 | break; | 2676 | break; |
| 2677 | 2677 | ||
| 2678 | /* Input arrived and pre-empted redisplay. | 2678 | /* Input arrived and preempted redisplay. |
| 2679 | Process any events which are not user-visible. */ | 2679 | Process any events which are not user-visible. */ |
| 2680 | swallow_events (false); | 2680 | swallow_events (false); |
| 2681 | /* If that cleared input_pending, try again to redisplay. */ | 2681 | /* If that cleared input_pending, try again to redisplay. */ |
| @@ -7681,7 +7681,7 @@ w32_memory_info (unsigned long long *totalram, unsigned long long *freeram, | |||
| 7681 | { | 7681 | { |
| 7682 | MEMORYSTATUS memst; | 7682 | MEMORYSTATUS memst; |
| 7683 | MEMORY_STATUS_EX memstex; | 7683 | MEMORY_STATUS_EX memstex; |
| 7684 | 7684 | memstex.dwLength = sizeof (memstex); | |
| 7685 | /* Use GlobalMemoryStatusEx if available, as it can report more than | 7685 | /* Use GlobalMemoryStatusEx if available, as it can report more than |
| 7686 | 2GB of memory. */ | 7686 | 2GB of memory. */ |
| 7687 | if (global_memory_status_ex (&memstex)) | 7687 | if (global_memory_status_ex (&memstex)) |
| @@ -7692,7 +7692,9 @@ w32_memory_info (unsigned long long *totalram, unsigned long long *freeram, | |||
| 7692 | *freeswap = memstex.ullAvailPageFile; | 7692 | *freeswap = memstex.ullAvailPageFile; |
| 7693 | return 0; | 7693 | return 0; |
| 7694 | } | 7694 | } |
| 7695 | else if (global_memory_status (&memst)) | 7695 | |
| 7696 | memst.dwLength = sizeof (memst); | ||
| 7697 | if (global_memory_status (&memst)) | ||
| 7696 | { | 7698 | { |
| 7697 | *totalram = memst.dwTotalPhys; | 7699 | *totalram = memst.dwTotalPhys; |
| 7698 | *freeram = memst.dwAvailPhys; | 7700 | *freeram = memst.dwAvailPhys; |
diff --git a/src/xdisp.c b/src/xdisp.c index 0497490928f..2676e982c9e 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -6194,7 +6194,9 @@ handle_single_display_spec (struct it *it, Lisp_Object spec, Lisp_Object object, | |||
| 6194 | { | 6194 | { |
| 6195 | struct face *face = FACE_FROM_ID (it->f, it->face_id); | 6195 | struct face *face = FACE_FROM_ID (it->f, it->face_id); |
| 6196 | it->voffset = - (XFLOATINT (value) | 6196 | it->voffset = - (XFLOATINT (value) |
| 6197 | * (normal_char_height (face->font, -1))); | 6197 | * (face->font |
| 6198 | ? normal_char_height (face->font, -1) | ||
| 6199 | : FRAME_LINE_HEIGHT (it->f))); | ||
| 6198 | } | 6200 | } |
| 6199 | #endif /* HAVE_WINDOW_SYSTEM */ | 6201 | #endif /* HAVE_WINDOW_SYSTEM */ |
| 6200 | } | 6202 | } |
| @@ -32168,7 +32170,8 @@ produce_stretch_glyph (struct it *it) | |||
| 32168 | /* Compute height. */ | 32170 | /* Compute height. */ |
| 32169 | if (FRAME_WINDOW_P (it->f)) | 32171 | if (FRAME_WINDOW_P (it->f)) |
| 32170 | { | 32172 | { |
| 32171 | int default_height = normal_char_height (font, ' '); | 32173 | int default_height = |
| 32174 | font ? normal_char_height (font, ' ') : FRAME_LINE_HEIGHT (it->f); | ||
| 32172 | 32175 | ||
| 32173 | if ((prop = plist_get (plist, QCheight), !NILP (prop)) | 32176 | if ((prop = plist_get (plist, QCheight), !NILP (prop)) |
| 32174 | && calc_pixel_width_or_height (&tem, it, prop, font, false, NULL)) | 32177 | && calc_pixel_width_or_height (&tem, it, prop, font, false, NULL)) |