aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2018-07-24 06:40:58 -0700
committerGlenn Morris2018-07-24 06:40:58 -0700
commit64f94785c7ef76de160649054ec970f62af49472 (patch)
treeb35f018eed0daab3427cf240b32770a7b264f713 /src
parent8c6a50230eda7a0773dcf0e6530d064e28df357c (diff)
parentf64c2774e96c755a5fddcbc49db65dcc3fcb9323 (diff)
downloademacs-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.c2
-rw-r--r--src/keyboard.c28
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.
11824receives the special event specified by this variable, it will try to 11824When Emacs receives the special event specified by this variable,
11825break into the debugger as soon as possible instead of processing the 11825it will try to break into the debugger as soon as possible instead
11826event normally through `special-event-map'. 11826of processing the event normally through `special-event-map'.
11827 11827
11828Currently, the only supported values for this 11828Currently, the only supported values for this
11829variable are `sigusr1' and `sigusr2'. */); 11829variable 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.
11835overflow. This recovery is unsafe and may lead to deadlocks or data 11835This recovery is potentially unsafe and may lead to deadlocks or data
11836corruption, but it usually works and may preserve modified buffers 11836corruption, but it usually works and may preserve modified buffers
11837that would otherwise be lost. If nil, treat stack overflow like any 11837that would otherwise be lost. If nil, treat stack overflow like any
11838other kind of crash. */); 11838other 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.
11844shutdown when Emacs receives a fatal signal (e.g., a crash). 11844By default this variable is non-nil, and Emacs attempts to perform
11845This cleanup is unsafe and may lead to deadlocks or data corruption, 11845an orderly shutdown when it catches a fatal signal (e.g., a crash).
11846but it usually works and may preserve modified buffers that would 11846The orderly shutdown includes an attempt to auto-save your unsaved edits
11847otherwise be lost. If nil, crash immediately in response to fatal 11847and other useful cleanups. These cleanups are potentially unsafe and may
11848signals. */); 11848lead to deadlocks or data corruption, but it usually works and may
11849preserve data in modified buffers that would otherwise be lost.
11850If 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'. */