bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: compilation-scroll-output should be an autoload


From: Stefan Monnier
Subject: Re: compilation-scroll-output should be an autoload
Date: 19 Nov 2001 14:07:19 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50

>>>>> "Christopher" == Christopher S Kush <address@hidden> writes:
>       (let ((saved-debug-on-error debug-on-error))
>         (set 'debug-on-error 't)
>         ;; ...
>         ;; buggy(?) code here.
>         ;; ...
>         (set 'debug-on-error saved-debug-on-error))

Instead of (set 'foo bar), use (setq foo bar).
Oh and while you're at it, just use

   (let ((debug-on-error t))
     ...buggy code...)

it's simpler and more robust in case a signal is raised.


        Stefan



reply via email to

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