GNU bug report logs - #3577
23.0.94; Info manual does not explain MTIME argument for dir-locals-set-directory-class

Previous Next

Package: emacs;

Reported by: Teemu Likonen <tlikonen <at> iki.fi>

Date: Mon, 15 Jun 2009 17:00:04 UTC

Severity: minor

Fixed in version 23.3

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

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Teemu Likonen <tlikonen <at> iki.fi>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.94; Info manual does not explain MTIME argument for dir-locals-set-directory-class
Date: Mon, 15 Jun 2009 19:54:11 +0300
Info nodes

    (emacs) Directory Variables
    (elisp) Directory Local Variables

explain or give examples of function dir-locals-set-directory-class but
neither of them mentions the mandatory third argument MTIME. I quote the
doc string of the function:

    dir-locals-set-directory-class is a compiled Lisp function in
    `files.el'.

    (dir-locals-set-directory-class directory class mtime)

    Declare that the directory root is an instance of class.
    directory is the name of a directory, a string.
    class is the name of a project class, a symbol.
    mtime is either the modification time of the directory-local
    variables file that defined this this class, or nil.

    When a file beneath directory is visited, the mode-specific
    variables from class are applied to the buffer.  The variables
    for a class are defined using `dir-locals-set-class-variables'.



This bug report was last modified 14 years and 150 days ago.

Previous Next


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