[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: defadvice protect / (error ...)
From: |
Richard M. Stallman |
Subject: |
Re: defadvice protect / (error ...) |
Date: |
Tue, 12 Jul 2005 14:06:05 -0400 |
(defadvice error (around ring-bell (&rest args) activate protect)
(let ((ring-bell-function nil))
(ding)
ad-do-it))
lets ring-bell-function set to nil after (error "xxx") is called.
I can't reproduce that. If I have set ring-bell-function to a non-nil value
before, it is still non-nil when I get back to the main loop.
Please provide a *complete* test case; you must say *exactly* what to
type. Please don't leave any details up to guesswork.