[Top][All Lists]

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

Re: Problem with `dir-locals-set-class-variables'

From: Glenn Morris
Subject: Re: Problem with `dir-locals-set-class-variables'
Date: Fri, 06 Apr 2012 12:26:17 -0400
User-agent: Gnus (, GNU Emacs (

Arne Jørgensen wrote:

> But if I want to use the other form of `dir-locals-set-class-variables'
> where  variables is of the form (DIRECTORY . LIST) like this:
>   (dir-locals-set-class-variables 'my-test '(("~/my-test-dir" . ((nil . 
> ((my-test-var . "some-value")))))))
> and then visit a file i.e. ~/my-test-dir/my-test-file the variable is
> NOT applied.

I don't see this form documented anywhere. What makes you think it
should work?

C-h f dir-locals-set-class-variables

  (dir-locals-set-directory-class DIRECTORY CLASS &optional MTIME)
  CLASS is the name of a project class, a symbol.

reply via email to

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