GNU bug report logs - #13483
24.2.92; emacs manual > Directory Variables: error in example

Previous Next

Package: emacs;

Reported by: michael_heerdegen <at> web.de

Date: Fri, 18 Jan 2013 01:48:02 UTC

Severity: normal

Found in version 24.2.92

Fixed in version 24.2.93

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: 13483 <at> debbugs.gnu.org
Subject: bug#13483: 24.2.92; emacs manual > Directory Variables: error in example
Date: Fri, 18 Jan 2013 02:48:12 +0100
Hi,

yes, this example won't work:

|    Here's an example of a `.dir-locals.el' file:
| 
|      ((nil . ((indent-tabs-mode . t)
|               (fill-column . 80)))
|       (c-mode . ((c-file-style . "BSD")))
|                  (subdirs . nil)))
|       ("src/imported"
|        . ((nil . ((change-log-default-name
|                    . "ChangeLog.local"))))))

The third line in the sexp must be

  (c-mode . ((c-file-style . "BSD")

i.e., there are two closing parens too much.


Thanks,

Michael.


In GNU Emacs 24.2.92.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10)
 of 2013-01-16 on drachen
Bzr revision: rgm <at> gnu.org-20130116122101-t5ychlz0gwh9u34x
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
System Description:	Debian GNU/Linux 7.0 (wheezy)

Configured using:
 `configure '--prefix=/usr/local/built/''

Important settings:
  value of $LC_ALL: de_DE.utf8
  value of $LC_TIME: C
  value of $LANG: de_DE.utf8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t





This bug report was last modified 12 years and 188 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.