Subject: bug#13483: 24.2.92; emacs manual > Directory Variables: error in example

From: Michael Heerdegen <[email-masked]>
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: [email-masked]
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