unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Automatic matching parenthesis
Date: Mon, 16 Mar 2009 11:24:50 +0000 (UTC)	[thread overview]
Message-ID: <gplcu2$1vco$1@colin2.muc.de> (raw)
In-Reply-To: 92d4e18b-c878-4be0-b3ef-0e07c7a77a10@d19g2000yqb.googlegroups.com

christopher.morris.cm@googlemail.com <christopher.morris.cm@googlemail.com> wrote:
> On 16 Mrz., 11:24, Andy Stewart <lazycat.mana...@gmail.com> wrote:
>> "christopher.morris...@googlemail.com"

>> <christopher.morris...@googlemail.com> writes:
>> > Hi,

> Thanks alot. But I cant figure out, how to enable paredit alway in c-
> mode. I tried:

> (add-hook c-mode-hook (lambda () (paredit-mode +1))). I get an error
> message starting up emacs. Any idea?

Yes.  You've forgotten the tick.  Try this:

    (add-hook 'c-mode-hook (lambda () (paredit-mode +1)))
              ^

HOWEVER: just as a tip for the future, you're more likely to get useful
help if you post the actual error message rather than just saying "I get
an error message ....".

> Regards,

> Chris

-- 
Alan Mackenzie (Nuremberg, Germany).



  reply	other threads:[~2009-03-16 11:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-15 23:31 Automatic matching parenthesis christopher.morris.cm
2009-03-16 10:24 ` Andy Stewart
     [not found] ` <mailman.3311.1237199154.31690.help-gnu-emacs@gnu.org>
2009-03-16 11:02   ` christopher.morris.cm
2009-03-16 11:24     ` Alan Mackenzie [this message]
2009-03-18  4:05     ` Kevin Rodgers
2009-03-16 11:36 ` Alan Mackenzie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='gplcu2$1vco$1@colin2.muc.de' \
    --to=acm@muc.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).