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


View this message in rfc822 format

From: Glenn Morris <rgm+emacsbugs <at> gnu.org>
To: Teemu Likonen <tlikonen <at> iki.fi>
Cc: 3577 <at> debbugs.gnu.org
Subject: bug#3577: 23.0.94; Info manual does not explain MTIME argument for dir-locals-set-directory-class
Date: Thu, 18 Jun 2009 02:58:57 -0400
Teemu Likonen wrote:

>> 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.
[...]
>     (dir-locals-set-directory-class
>      "/usr/include/" 'unwritable-directory)
[...]
> Debugger entered--Lisp error: (wrong-number-of-arguments #[(directory


Yes, calling a function with the wrong number of arguments causes an error.

The mtime argument is now optional, so there is no error, and no need
to mention the mtime bit in the Emacs manual, IMO. It probably should
be added to the elisp manual.



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.