aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmds.c
diff options
context:
space:
mode:
authorJoakim Verona2012-07-27 02:22:03 +0200
committerJoakim Verona2012-07-27 02:22:03 +0200
commit5fb63197843dcae66f2fe0ddd6f4a9d560e9db2f (patch)
tree5c55f1096a656a9759f0b53a0b5d1a2289bd366f /src/cmds.c
parent0c5c85cf2b350c965bb1ffa5b2d77c2adebc406b (diff)
parent562157c814037dcba58a20cd6908a95992c22283 (diff)
downloademacs-5fb63197843dcae66f2fe0ddd6f4a9d560e9db2f.tar.gz
emacs-5fb63197843dcae66f2fe0ddd6f4a9d560e9db2f.zip
upstream
Diffstat (limited to 'src/cmds.c')
-rw-r--r--src/cmds.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cmds.c b/src/cmds.c
index d617c7f81d9..a7a2eb6f528 100644
--- a/src/cmds.c
+++ b/src/cmds.c
@@ -296,7 +296,10 @@ At the end, it runs `post-self-insert-hook'. */)
296 296
297 if (remove_boundary 297 if (remove_boundary
298 && CONSP (BVAR (current_buffer, undo_list)) 298 && CONSP (BVAR (current_buffer, undo_list))
299 && NILP (XCAR (BVAR (current_buffer, undo_list)))) 299 && NILP (XCAR (BVAR (current_buffer, undo_list)))
300 /* Only remove auto-added boundaries, not boundaries
301 added be explicit calls to undo-boundary. */
302 && EQ (BVAR (current_buffer, undo_list), last_undo_boundary))
300 /* Remove the undo_boundary that was just pushed. */ 303 /* Remove the undo_boundary that was just pushed. */
301 BVAR (current_buffer, undo_list) = XCDR (BVAR (current_buffer, undo_list)); 304 BVAR (current_buffer, undo_list) = XCDR (BVAR (current_buffer, undo_list));
302 305