aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c2
-rw-r--r--src/xfns.c8
2 files changed, 6 insertions, 4 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index d65bb388699..cf15f579b58 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -5120,7 +5120,7 @@ handle_display_spec (struct it *it, Lisp_Object spec, Lisp_Object object,
5120 if (CONSP (spec) && EQ (XCAR (spec), Qdisable_eval)) 5120 if (CONSP (spec) && EQ (XCAR (spec), Qdisable_eval))
5121 { 5121 {
5122 enable_eval = false; 5122 enable_eval = false;
5123 spec = XCAR (XCDR (spec)); 5123 spec = CONSP (XCDR (spec)) ? XCAR (XCDR (spec)) : Qnil;
5124 } 5124 }
5125 5125
5126 if (CONSP (spec) 5126 if (CONSP (spec)
diff --git a/src/xfns.c b/src/xfns.c
index 1f381e2a8b0..2ab5080d977 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -6738,9 +6738,11 @@ x_hide_tip (bool delete)
6738 } 6738 }
6739 } 6739 }
6740 6740
6741 /* Reset tip_last_frame, it will be reassigned when showing the 6741 /* When using GTK+ system tooltips (compare Bug#41200) reset
6742 next GTK+ system tooltip. */ 6742 tip_last_frame. It will be reassigned when showing the next
6743 tip_last_frame = Qnil; 6743 GTK+ system tooltip. */
6744 if (x_gtk_use_system_tooltips)
6745 tip_last_frame = Qnil;
6744 6746
6745 /* Now look whether there's an Emacs tip around. */ 6747 /* Now look whether there's an Emacs tip around. */
6746 if (FRAMEP (tip_frame)) 6748 if (FRAMEP (tip_frame))