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

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

Re: Old style backquotes warning


From: Uday Reddy
Subject: Re: Old style backquotes warning
Date: Tue, 22 Mar 2011 14:27:49 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9

On 3/18/2011 8:51 PM, Drew Adams wrote:
old backquotes detected.  How do I fix the macro?

(defmacro squash (month day year time&optional court)
   (backquote
    (squash-internal (, month) (, day) (, year) (quote (, time))
                     (, court))))

(defmacro squash (m d y t&optional c)
   `(squash-internal ,m ,d ,y ',t ,c))



Right.  Any idea what is old style about this backquote:

                `(lambda ()
                   (if (eq (current-buffer) ,(current-buffer))
                       (kill-buffer ,work-buffer)))

The compiler complains rather bitterly!

Cheers,
Uday



reply via email to

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