diff options
| author | Paul Eggert | 2016-10-10 07:35:32 -0700 |
|---|---|---|
| committer | Paul Eggert | 2016-10-10 07:35:32 -0700 |
| commit | 97046e811c738a21e0c4badbb5bab146b6adf6c8 (patch) | |
| tree | 4a10f7fc7e8ab2df291eb6fff2d5e19eb4bbb15c /src | |
| parent | 314f3972bf864a527494db043f01d603b0eef522 (diff) | |
| parent | 4b347fe5368aedc161e172bd110e05e2f7f37463 (diff) | |
| download | emacs-97046e811c738a21e0c4badbb5bab146b6adf6c8.tar.gz emacs-97046e811c738a21e0c4badbb5bab146b6adf6c8.zip | |
Merge from origin/emacs-25
4b347fe Clarify that doc fixes are okay in feature freeze
01669ad Avoid crashes when setting the cursor
f2144ee Restore 'command-debug-status' functionality
ec6e4b9 ; Minor addition to CONTRIBUTE
Diffstat (limited to 'src')
| -rw-r--r-- | src/callint.c | 6 | ||||
| -rw-r--r-- | src/xdisp.c | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/callint.c b/src/callint.c index 053ee6cdaa5..c0afc7b20bd 100644 --- a/src/callint.c +++ b/src/callint.c | |||
| @@ -837,7 +837,10 @@ invoke it. If KEYS is omitted or nil, the return value of | |||
| 837 | kset_last_command (current_kboard, save_last_command); | 837 | kset_last_command (current_kboard, save_last_command); |
| 838 | 838 | ||
| 839 | { | 839 | { |
| 840 | Lisp_Object val = Ffuncall (nargs, args); | 840 | Lisp_Object val; |
| 841 | specbind (Qcommand_debug_status, Qnil); | ||
| 842 | |||
| 843 | val = Ffuncall (nargs, args); | ||
| 841 | val = unbind_to (speccount, val); | 844 | val = unbind_to (speccount, val); |
| 842 | SAFE_FREE (); | 845 | SAFE_FREE (); |
| 843 | return val; | 846 | return val; |
| @@ -894,6 +897,7 @@ syms_of_callint (void) | |||
| 894 | DEFSYM (Qhandle_shift_selection, "handle-shift-selection"); | 897 | DEFSYM (Qhandle_shift_selection, "handle-shift-selection"); |
| 895 | DEFSYM (Qread_number, "read-number"); | 898 | DEFSYM (Qread_number, "read-number"); |
| 896 | DEFSYM (Qfuncall_interactively, "funcall-interactively"); | 899 | DEFSYM (Qfuncall_interactively, "funcall-interactively"); |
| 900 | DEFSYM (Qcommand_debug_status, "command-debug-status"); | ||
| 897 | DEFSYM (Qenable_recursive_minibuffers, "enable-recursive-minibuffers"); | 901 | DEFSYM (Qenable_recursive_minibuffers, "enable-recursive-minibuffers"); |
| 898 | DEFSYM (Qmouse_leave_buffer_hook, "mouse-leave-buffer-hook"); | 902 | DEFSYM (Qmouse_leave_buffer_hook, "mouse-leave-buffer-hook"); |
| 899 | 903 | ||
diff --git a/src/xdisp.c b/src/xdisp.c index e8061663f86..3eb11cc0c1e 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -28505,8 +28505,7 @@ display_and_set_cursor (struct window *w, bool on, | |||
| 28505 | } | 28505 | } |
| 28506 | 28506 | ||
| 28507 | glyph = NULL; | 28507 | glyph = NULL; |
| 28508 | if (!glyph_row->exact_window_width_line_p | 28508 | if (0 <= hpos && hpos < glyph_row->used[TEXT_AREA]) |
| 28509 | || (0 <= hpos && hpos < glyph_row->used[TEXT_AREA])) | ||
| 28510 | glyph = glyph_row->glyphs[TEXT_AREA] + hpos; | 28509 | glyph = glyph_row->glyphs[TEXT_AREA] + hpos; |
| 28511 | 28510 | ||
| 28512 | eassert (input_blocked_p ()); | 28511 | eassert (input_blocked_p ()); |