[Top][All Lists]

[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: 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)
    (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!


reply via email to

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