emacs-devel
[Top][All Lists]
Advanced

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

Re: finding old-style-backquote


From: Stefan Monnier
Subject: Re: finding old-style-backquote
Date: Fri, 14 Sep 2007 13:23:26 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

> On 9/14/07, Stefan Monnier <address@hidden> wrote:
>> In any case C-s (` is not that hard to type, is it?

> (if (boundp '*def-font)
>     (progn
>       (if (boundp 'default-frame-plist)
>         (add-to-list 'default-frame-plist '(font ,*def-font)))
>       (add-to-list 'default-frame-alist '(font . ,*def-font))))

> In the above expression, I get a warning that it uses old style
> backquote. I am not able to catch it. Looking for identifying the
> culprit.

Buggy code: your new-style unquotes (i.e. ",*def-font") are not
inside backquotes so they will not be evaluated and your add-to-list will
hence not do what you intended.


        Stefan




reply via email to

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