Subject: Re: bug#12161: 24.1.50; delete-selection mode vs ask-user-about-supersession-threat
From: Stefan Monnier <[email-masked]>
To: Matthew Woodcraft <[email-masked]>
Cc: [email-masked]
Date: Wed, 08 Aug 2012 22:19:33 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

> The following code in delsel.el doesn't seem to be working any more:

> 	(file-supersession
> 	 ;; If ask-user-about-supersession-threat signals an error,
> 	 ;; stop safe_run_hooks from clearing out pre-command-hook.
> 	 (and (eq inhibit-quit 'pre-command-hook)
> 	      (setq inhibit-quit 'delete-selection-dummy))

Indeed, thanks.
I've simplified it so it doesn't need to know about how
safe_run_hook works.

        Stefan