[Top][All Lists]

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

Re: problem getting hooks to be active

From: Eric Pement
Subject: Re: problem getting hooks to be active
Date: 12 Aug 2003 09:32:09 -0700

Barry Margolin <address@hidden> wrote in message news:<address@hidden>...
> In article <address@hidden>,
> Peter Solodov  <address@hidden> wrote:
> >On 11 Aug 2003, Eric Pement wrote:
> >>    (add-hook 'sgml-mode-hook'
> >
> >That second quote is really there???  In this case you're adding to
> >"sgml-mode-hook'", and not sgml-mode-hook.
> No he isn't.  [ ... ]

> But I agree that his layout suggests a serious misunderstanding of how Lisp
> quoting works.
> >(add-hook 'sgml-mode-hook
> >  (lambda ()
> >    ...

I wonder if I should expect this?  Three people respond to my
question, all of them nitpicking about a quote mark that doesn't
affect the failure or success of the code. Yes, the extra quote mark
in 'sgml-mode-hook' was an ignorant mistake. I copied it off a sample
ini file on Removing the trailing apostrophe does not
fix the problem.

So what should I have written instead that will change the variables
while in sgml-mode?

reply via email to

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