changeset 103470:c05be0f4e7a4

(dir-locals-set-directory-class): Make mtime argument optional, since it is always unneeded in the non-file case. (Bug#3577)
author Glenn Morris <rgm@gnu.org>
date Thu, 18 Jun 2009 06:54:47 +0000
parents 2ef54dcdd516
children fb1ed86c4fa8
files lisp/ChangeLog lisp/files.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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  <rgm@gnu.org>
+
+	* 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  <handa@m17n.org>
 
 	* language/korean.el ("Korean"): Fix `documentation' property of
--- 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.