emacs-devel
[Top][All Lists]
Advanced

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

Re: (error (format ...


From: Juanma Barranquero
Subject: Re: (error (format ...
Date: Thu, 16 Jun 2005 16:03:37 +0200

> I'd probably be tempted to use
> 
>     (error (concat "No further undo information"
>                    (and transient-mark-mode mark-active
>                         " for region")))

Yes, in this case I think yours is better. But if the argument is a variable:

  (lambda (arg) (error (format "This is the error: %s" arg)))

would be preferable to

  (lambda (arg) (error "This is the error: %s" arg))

?
-- 
                    /L/e/k/t/u




reply via email to

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