Mercurial > hg > xemacs-beta
comparison src/event-stream.c @ 4718:a27de91ae83c
Don't prevent display objects from being deleted for `post-command-hook'.
2009-10-11 Michael Sperber <mike@xemacs.org>
* event-stream.c (post_command_hook): Run `post-command-hook'
without INHIBIT_EXISTING_PERMANENT_DISPLAY_OBJECT_DELETION -
deleting other windows off that hook is legitimate.
author | Mike Sperber <sperber@deinprogramm.de> |
---|---|
date | Sun, 11 Oct 2009 17:26:40 +0200 |
parents | 8f1ee2d15784 |
children | 1d61580e0cf7 |
comparison
equal
deleted
inserted
replaced
4717:fcc7e89d5e68 | 4718:a27de91ae83c |
---|---|
4381 else | 4381 else |
4382 zmacs_update_region (); | 4382 zmacs_update_region (); |
4383 | 4383 |
4384 safe_run_hook_trapping_problems | 4384 safe_run_hook_trapping_problems |
4385 (Qcommand, Qpost_command_hook, | 4385 (Qcommand, Qpost_command_hook, |
4386 INHIBIT_EXISTING_PERMANENT_DISPLAY_OBJECT_DELETION); | 4386 0); |
4387 | 4387 |
4388 #if 0 /* FSF Emacs */ | 4388 #if 0 /* FSF Emacs */ |
4389 if (!NILP (current_buffer->mark_active)) | 4389 if (!NILP (current_buffer->mark_active)) |
4390 { | 4390 { |
4391 if (!NILP (Vdeactivate_mark) && !NILP (Vtransient_mark_mode)) | 4391 if (!NILP (Vdeactivate_mark) && !NILP (Vtransient_mark_mode)) |