[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12161: 24.1.50; delete-selection mode vs ask-user-about-supersession

From: Stefan Monnier
Subject: bug#12161: 24.1.50; delete-selection mode vs ask-user-about-supersession-threat
Date: Wed, 08 Aug 2012 22:19:33 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]