diff options
| author | Glenn Morris | 2018-07-24 06:40:58 -0700 |
|---|---|---|
| committer | Glenn Morris | 2018-07-24 06:40:58 -0700 |
| commit | 64f94785c7ef76de160649054ec970f62af49472 (patch) | |
| tree | b35f018eed0daab3427cf240b32770a7b264f713 /src | |
| parent | 8c6a50230eda7a0773dcf0e6530d064e28df357c (diff) | |
| parent | f64c2774e96c755a5fddcbc49db65dcc3fcb9323 (diff) | |
| download | emacs-64f94785c7ef76de160649054ec970f62af49472.tar.gz emacs-64f94785c7ef76de160649054ec970f62af49472.zip | |
Merge from origin/emacs-26
f64c277 (origin/emacs-26) Let bookmark-jump override window-point (Bu...
1208aaa Omit keymap from subword-mode docstring (Bug#32212)
2b70b54 Prevent line-mode term from showing user passwords
5de4441 Check for special filenames in eshell (Bug#30724)
1b4b965 Fix indent-sexp of #s(...) (Bug#31984)
59e8533 Add save-match-data to abbreviate-file-name (Bug#32201)
47f75b1 Fix last change in editfns.c
671dc5a Fix calls to buffer modification hooks from replace-buffer-co...
cc4ceed ; etc/NEWS: Remove unnecessary reference to a bug number.
e0f33ea Fix Bug#32226
7308fa0 Improve doc strings of several variables in keyboard.c
Diffstat (limited to 'src')
| -rw-r--r-- | src/editfns.c | 2 | ||||
| -rw-r--r-- | src/keyboard.c | 28 |
2 files changed, 16 insertions, 14 deletions
diff --git a/src/editfns.c b/src/editfns.c index 09f836c3eb4..1d6040da3f7 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -3267,7 +3267,7 @@ differences between the two buffers. */) | |||
| 3267 | from = BEGV + k; | 3267 | from = BEGV + k; |
| 3268 | 3268 | ||
| 3269 | /* Find the last character position to be changed. */ | 3269 | /* Find the last character position to be changed. */ |
| 3270 | for (l = size_a; l > 0 && !bit_is_set (ctx.deletions, l - 1); l--) | 3270 | for (l = size_a; l > k && !bit_is_set (ctx.deletions, l - 1); l--) |
| 3271 | ; | 3271 | ; |
| 3272 | to = BEGV + l; | 3272 | to = BEGV + l; |
| 3273 | prepare_to_modify_buffer (from, to, NULL); | 3273 | prepare_to_modify_buffer (from, to, NULL); |
diff --git a/src/keyboard.c b/src/keyboard.c index 01d7ce9d5e0..7ab9a6069ad 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -11820,10 +11820,10 @@ if the command is in this list, the selection is not updated. */); | |||
| 11820 | 11820 | ||
| 11821 | DEFVAR_LISP ("debug-on-event", | 11821 | DEFVAR_LISP ("debug-on-event", |
| 11822 | Vdebug_on_event, | 11822 | Vdebug_on_event, |
| 11823 | doc: /* Enter debugger on this event. When Emacs | 11823 | doc: /* Enter debugger on this event. |
| 11824 | receives the special event specified by this variable, it will try to | 11824 | When Emacs receives the special event specified by this variable, |
| 11825 | break into the debugger as soon as possible instead of processing the | 11825 | it will try to break into the debugger as soon as possible instead |
| 11826 | event normally through `special-event-map'. | 11826 | of processing the event normally through `special-event-map'. |
| 11827 | 11827 | ||
| 11828 | Currently, the only supported values for this | 11828 | Currently, the only supported values for this |
| 11829 | variable are `sigusr1' and `sigusr2'. */); | 11829 | variable are `sigusr1' and `sigusr2'. */); |
| @@ -11831,21 +11831,23 @@ variable are `sigusr1' and `sigusr2'. */); | |||
| 11831 | 11831 | ||
| 11832 | DEFVAR_BOOL ("attempt-stack-overflow-recovery", | 11832 | DEFVAR_BOOL ("attempt-stack-overflow-recovery", |
| 11833 | attempt_stack_overflow_recovery, | 11833 | attempt_stack_overflow_recovery, |
| 11834 | doc: /* If non-nil, attempt to recover from C stack | 11834 | doc: /* If non-nil, attempt to recover from C stack overflows. |
| 11835 | overflow. This recovery is unsafe and may lead to deadlocks or data | 11835 | This recovery is potentially unsafe and may lead to deadlocks or data |
| 11836 | corruption, but it usually works and may preserve modified buffers | 11836 | corruption, but it usually works and may preserve modified buffers |
| 11837 | that would otherwise be lost. If nil, treat stack overflow like any | 11837 | that would otherwise be lost. If nil, treat stack overflow like any |
| 11838 | other kind of crash. */); | 11838 | other kind of crash or fatal error. */); |
| 11839 | attempt_stack_overflow_recovery = true; | 11839 | attempt_stack_overflow_recovery = true; |
| 11840 | 11840 | ||
| 11841 | DEFVAR_BOOL ("attempt-orderly-shutdown-on-fatal-signal", | 11841 | DEFVAR_BOOL ("attempt-orderly-shutdown-on-fatal-signal", |
| 11842 | attempt_orderly_shutdown_on_fatal_signal, | 11842 | attempt_orderly_shutdown_on_fatal_signal, |
| 11843 | doc: /* If non-nil, attempt to perform an orderly | 11843 | doc: /* If non-nil, attempt orderly shutdown on fatal signals. |
| 11844 | shutdown when Emacs receives a fatal signal (e.g., a crash). | 11844 | By default this variable is non-nil, and Emacs attempts to perform |
| 11845 | This cleanup is unsafe and may lead to deadlocks or data corruption, | 11845 | an orderly shutdown when it catches a fatal signal (e.g., a crash). |
| 11846 | but it usually works and may preserve modified buffers that would | 11846 | The orderly shutdown includes an attempt to auto-save your unsaved edits |
| 11847 | otherwise be lost. If nil, crash immediately in response to fatal | 11847 | and other useful cleanups. These cleanups are potentially unsafe and may |
| 11848 | signals. */); | 11848 | lead to deadlocks or data corruption, but it usually works and may |
| 11849 | preserve data in modified buffers that would otherwise be lost. | ||
| 11850 | If nil, Emacs crashes immediately in response to fatal signals. */); | ||
| 11849 | attempt_orderly_shutdown_on_fatal_signal = true; | 11851 | attempt_orderly_shutdown_on_fatal_signal = true; |
| 11850 | 11852 | ||
| 11851 | /* Create the initial keyboard. Qt means 'unset'. */ | 11853 | /* Create the initial keyboard. Qt means 'unset'. */ |