diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2016-06-19 00:47:00 +0200 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-06-19 00:47:00 +0200 |
commit | 68cb71c0928eb8b10487a125192f43923e8bfe7f (patch) | |
tree | 053133358af1bd991d60ed6c29590ad84b29fed0 /src | |
parent | 87c9d8fcec183c8f4933e218c1895b6a0722b1e1 (diff) | |
parent | 9ae514a9b7ed368ea97ddefa806079b6423833cb (diff) | |
download | emacs-68cb71c0928eb8b10487a125192f43923e8bfe7f.tar.gz |
Merge from origin/emacs-25
9ae514a * etc/AUTHORS: Update the AUTHORS file
3ca428e add entries to authors.el
66d556b Fix eldoc-related freezes in python mode
d59bcbc Handle mouse leaving initial window in `mouse-set-region' (Bu...
27fe1e4 org.el: Fix bindings of < and > for calendar scrolling
a813487 Fix undo boundary in recursive edit (Bug#23632)
1f85b7c Doc fixes re alist-get. (Bug#23548)
ba3f206 * lisp/progmodes/python.el (inferior-python-mode): Avoid tabs...
56fa055 * src/syntax.c (syms_of_syntax) <comment-end-can-be-escaped>:...
4c1370a * lisp/help-fns.el (describe-function-1): Fix handling of fil...
a3f7ae8 * lisp/emacs-lisp/cl-macs.el (cl-loop): Doc fix re "by".
601b9b2 * doc/misc/cl.texi (Mapping over Sequences): Fix cl-notevery.
Diffstat (limited to 'src')
-rw-r--r-- | src/keyboard.c | 10 | ||||
-rw-r--r-- | src/syntax.c | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 717c0710a5c..653f52732a7 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -681,6 +681,14 @@ recursive_edit_1 (void) specbind (Qinhibit_redisplay, Qnil); redisplaying_p = 0; + /* This variable stores buffers that have changed so that an undo + boundary can be added. specbind this so that changes in the + recursive edit will not result in undo boundaries in buffers + changed before we entered there recursive edit. + See Bug #23632. + */ + specbind (Qundo_auto__undoably_changed_buffers, Qnil); + val = command_loop (); if (EQ (val, Qt)) Fsignal (Qquit, Qnil); @@ -10980,6 +10988,8 @@ syms_of_keyboard (void) DEFSYM (Qpost_command_hook, "post-command-hook"); DEFSYM (Qundo_auto__add_boundary, "undo-auto--add-boundary"); + DEFSYM (Qundo_auto__undoably_changed_buffers, + "undo-auto--undoably-changed-buffers"); DEFSYM (Qdeferred_action_function, "deferred-action-function"); DEFSYM (Qdelayed_warnings_hook, "delayed-warnings-hook"); diff --git a/src/syntax.c b/src/syntax.c index 1c1a2f82782..587335acef8 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -3771,7 +3771,7 @@ In both cases, LIMIT bounds the search. */); Vfind_word_boundary_function_table = Fmake_char_table (Qnil, Qnil); DEFVAR_BOOL ("comment-end-can-be-escaped", Vcomment_end_can_be_escaped, - doc: /* Non-nil means an escaped ender inside a comment doesn'tend the comment. */); + doc: /* Non-nil means an escaped ender inside a comment doesn't end the comment. */); Vcomment_end_can_be_escaped = 0; DEFSYM (Qcomment_end_can_be_escaped, "comment-end-can-be-escaped"); Fmake_variable_buffer_local (Qcomment_end_can_be_escaped); |