# HG changeset patch # User Glenn Morris # Date 1245308087 0 # Node ID c05be0f4e7a452bdbb3f6d3dec5a4f637664826b # Parent 2ef54dcdd516bd960a0667f2331db9d94372e749 (dir-locals-set-directory-class): Make mtime argument optional, since it is always unneeded in the non-file case. (Bug#3577) diff -r 2ef54dcdd516 -r c05be0f4e7a4 lisp/ChangeLog --- a/lisp/ChangeLog Thu Jun 18 01:15:43 2009 +0000 +++ b/lisp/ChangeLog Thu Jun 18 06:54:47 2009 +0000 @@ -1,3 +1,8 @@ +2009-06-18 Glenn Morris + + * files.el (dir-locals-set-directory-class): Make mtime argument + optional, since it is always unneeded in the non-file case. (Bug#3577) + 2009-06-18 Kenichi Handa * language/korean.el ("Korean"): Fix `documentation' property of diff -r 2ef54dcdd516 -r c05be0f4e7a4 lisp/files.el --- a/lisp/files.el Thu Jun 18 01:15:43 2009 +0000 +++ b/lisp/files.el Thu Jun 18 06:54:47 2009 +0000 @@ -3241,7 +3241,7 @@ (setq variables (dir-locals-collect-mode-variables (cdr entry) variables)))))))) -(defun dir-locals-set-directory-class (directory class mtime) +(defun dir-locals-set-directory-class (directory class &optional 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.