diff options
| author | Phillip Lord | 2015-08-06 21:33:58 +0100 |
|---|---|---|
| committer | Phillip Lord | 2015-11-12 21:06:05 +0000 |
| commit | 44dfa86b7d382b84564d68472da1448d08f48129 (patch) | |
| tree | 778e2228ec90a4401b2be6cd7b258ee44a212b26 /src/lisp.h | |
| parent | 0aec2aaccd8b745fa7214f3edd453c04a04bfba4 (diff) | |
| download | emacs-44dfa86b7d382b84564d68472da1448d08f48129.tar.gz emacs-44dfa86b7d382b84564d68472da1448d08f48129.zip | |
The heuristic that Emacs uses to add an `undo-boundary' has been
reworked, as it interacts poorly with functions on `post-command-hook'
or `after-change-functions'.
* lisp/simple.el: New section added.
* src/cmds.c (remove_excessive_undo_boundaries): Now in lisp.
(self_insert_command): Calls simple.el to amalgamate.
(delete_char): Calls simple.el to amalgamate.
* src/keyboard.c (last_undo_boundary): Removed.
* src/undo.c (run_undoable_change): New function.
Diffstat (limited to 'src/lisp.h')
| -rw-r--r-- | src/lisp.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lisp.h b/src/lisp.h index 02109d72174..aaf52bdd1be 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -4174,7 +4174,6 @@ extern void syms_of_casetab (void); | |||
| 4174 | extern Lisp_Object echo_message_buffer; | 4174 | extern Lisp_Object echo_message_buffer; |
| 4175 | extern struct kboard *echo_kboard; | 4175 | extern struct kboard *echo_kboard; |
| 4176 | extern void cancel_echoing (void); | 4176 | extern void cancel_echoing (void); |
| 4177 | extern Lisp_Object last_undo_boundary; | ||
| 4178 | extern bool input_pending; | 4177 | extern bool input_pending; |
| 4179 | #ifdef HAVE_STACK_OVERFLOW_HANDLING | 4178 | #ifdef HAVE_STACK_OVERFLOW_HANDLING |
| 4180 | extern sigjmp_buf return_to_command_loop; | 4179 | extern sigjmp_buf return_to_command_loop; |